<?xml version='1.0' encoding='ISO-8859-1'?>
<?xml-stylesheet type='text/xsl' href='docs.xsl'?>
<docs>
<method cat='DOM/Traversing' type='jQuery' short='Removes the specified Element from the set of matched elements.' name='not'>
<desc>Removes the specified Element from the set of matched elements. This
method is used to remove a single Element from a jQuery object.</desc>
<params type='Element' name='el'>
<desc>An element to remove from the set</desc>
</params>
<examples>
<desc>Removes the element with the ID "selected" from the set of all paragraphs.</desc>
<before>&lt;p&gt;Hello&lt;/p&gt;&lt;p id="selected"&gt;Hello Again&lt;/p&gt;</before>
<code>$("p").not( $("#selected")[0] )</code>
<result>[ &lt;p&gt;Hello&lt;/p&gt; ]</result>
</examples>
</method><method cat='DOM/Traversing' type='jQuery' short='Removes elements matching the specified expression from the set
of matched elements.' name='not'>
<desc>Removes elements matching the specified expression from the set
of matched elements. This method is used to remove one or more
elements from a jQuery object.</desc>
<params type='String' name='expr'>
<desc>An expression with which to remove matching elements</desc>
</params>
<examples>
<desc>Removes the element with the ID "selected" from the set of all paragraphs.</desc>
<before>&lt;p&gt;Hello&lt;/p&gt;&lt;p id="selected"&gt;Hello Again&lt;/p&gt;</before>
<code>$("p").not("#selected")</code>
<result>[ &lt;p&gt;Hello&lt;/p&gt; ]</result>
</examples>
</method><method cat='DOM/Traversing' type='jQuery' short='Removes any elements inside the array of elements from the set
of matched elements.' name='not'>
<desc>Removes any elements inside the array of elements from the set
of matched elements. This method is used to remove one or more
elements from a jQuery object.

Please note: the expression cannot use a reference to the
element name. See the two examples below.</desc>
<params type='jQuery' name='elems'>
<desc>A set of elements to remove from the jQuery set of matched elements.</desc>
</params>
<examples>
<desc>Removes all elements that match "div p.selected" from the total set of all paragraphs.</desc>
<before>&lt;div&gt;&lt;p&gt;Hello&lt;/p&gt;&lt;p class="selected"&gt;Hello Again&lt;/p&gt;&lt;/div&gt;</before>
<code>$("p").not( $("div p.selected") )</code>
<result>[ &lt;p&gt;Hello&lt;/p&gt; ]</result>
</examples>
</method></docs>
