<?xml version='1.0' encoding='ISO-8859-1'?>
<?xml-stylesheet type='text/xsl' href='docs.xsl'?>
<docs>
<method cat='Effects' type='jQuery' short='Hides each of the set of matched elements if they are shown.' name='hide'>
<desc>Hides each of the set of matched elements if they are shown.</desc>
<examples>
<code>$("p").hide()</code>
<result>[ &lt;p style="display: none"&gt;Hello&lt;/p&gt; ]</result>
<before>&lt;p&gt;Hello&lt;/p&gt;</before>
</examples>
</method><method cat='Effects' type='jQuery' see='show(String|Number,Function)' short='Hide all matched elements using a graceful animation and firing an
optional callback after completion.' name='hide'>
<desc>Hide all matched elements using a graceful animation and firing an
optional callback after completion.

The height, width, and opacity of each of the matched elements 
are changed dynamically according to the specified speed.</desc>
<params type='String|Number' name='speed'>
<desc>A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).</desc>
</params>
<params type='Function' name='callback'>
<desc>(optional) A function to be executed whenever the animation completes.</desc>
</params>
<examples>
<code>$("p").hide("slow");</code>
</examples>
<examples>
<code>$("p").hide("slow",function(){
  alert("Animation Done.");
});</code>
</examples>
</method></docs>
