Confused in calling this function in jQuery
<p>I have one jQuery code as,</p>

<pre><code>&lt;script type="text/javascript"&gt;
$.idleTimeout('#idletimeout', '#idletimeout a', {
  idleAfter: 3,
  pollingInterval: 2,
  keepAliveURL: 'keepalive.php',
  serverResponseEquals: 'OK',
  onTimeout: function(){
    $(this).slideUp();
    window.location = "timeout.htm";
  },
  onIdle: function(){
    $(this).slideDown(); // show the warning bar
  },
  onCountdown: function( counter ){
    $(this).find("span").html( counter ); // update the counter
  },
  onResume: function(){
    $(this).slideUp(); // hide the warning bar
  }
});
//
&lt;/script&gt;
</code></pre>

<p>Now if I call this, it's hiding the slider.</p>

<pre><code>function loadXMLDoc(message)
{
$.get("test1.php?data="+message, function(result){

$('#idletimeout').slideUp(); // hide
    });
}
&lt;/script&gt;
</code></pre>

<p>Is there any way to call <strong>onResume</strong> function (on top) in <strong>loadXMLDoc</strong> function?
Thanks.</p>
