How to find elements with 'value=x'?

Viewed 226773

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

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

Can you help me?

6 Answers
$(selector).filter(function(){return this.value==yourval}).remove();
Related