Hi,

I am having trouble how do i use the delay before sending a request,what i want is to delay about 3secs to show my loading bar and make a request to server.

i tried this
beforeSend:function() {
<div><img src="loadingbar.gif"></img></div>.delay(3); //3 seconds.
}


Thank you in advance