<?xml version='1.0' encoding='ISO-8859-1'?>
<?xml-stylesheet type='text/xsl' href='docs.xsl'?>
<docs>
<method cat='Ajax' type='jQuery' short='Attach a function to be executed whenever an AJAX request begins
and there is none already active.' name='ajaxStart'>
<desc>Attach a function to be executed whenever an AJAX request begins
and there is none already active.</desc>
<params type='Function' name='callback'>
<desc>The function to execute.</desc>
</params>
<examples>
<desc>Show a loading message whenever an AJAX request starts
(and none is already active).</desc>
<code>$("#loading").ajaxStart(function(){
  $(this).show();
});</code>
</examples>
</method></docs>
