Take a look at the .not () function:
http://api.jquery.com/not/
Since the white paper explains this quite clearly, here it is from the API website:
Delete specific items
The second version of the .not () method allows us to remove elements from the matched set, assuming that we have already found these elements in some other ways. For example, suppose our list had an identifier applied to one of its elements:
<ul>
<li>list item 1</li>
<li>list item 2</li>
<li id="notli">list item 3</li>
<li>list item 4</li>
<li>list item 5</li>
</ul>
, getElementById(), jQuery:
$('li').not(document.getElementById('notli'))
.css('background-color', 'red');
1, 2, 4 5. jQuery, , , , DOM .
jQuery 1.4, .not() , .filter(). , true, ; .