$('#attached_docs [value="123"]').find ... .remove();
it should do your need however, you cannot duplicate id! remember it
The following worked for me:
$("[id=attached_docs][value=123]")
$(selector).filter(function(){return this.value==yourval}).remove();
Use the following selector.
$('#attached_docs [value=123]').remove();
Value exactly equal to 123:
jQuery("#attached_docs[value='123']")
Full reference: http://api.jquery.com/category/selectors/
Source: Stackoverflow.com