Alex Rivera | Logout

jQuery find elements with value = x

Asked 2011-07-18T11:42:53.600
125

I need to remove element that have value="123". I know that all elements with different values are located in #attached_docs, but I don't know how to select element with value="123".

$('#attached_docs').find ... .remove();

Can you help me?

Edit
Report

1 Answer

5

Use the following selector.

$('#attached_docs [value=123]').remove();
answered 2011-07-18T11:44:16.427

Your Answer