[jQuery] ajaxStart, ajaxStop issues
<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hello all,<BR>
<BR>
I'm fairly new to jQuery having used Prototype & Scriptaculous (sparingly!) in the past. My problem is thus:<BR>
<BR>
I have a form with 3 <select>'s all of which trigger $.ajax calls when the selection changes. This in itself works fine. To give the user a visual cue I added a 'loading' graphic, and then added the fairly standard (as far as I can see) ajaxStart and ajaxStop show/hides. On the first ajax call the graphic shows and hides as I'd expect, however on subsequent calls the graphic flashes away for longer periods of time.<BR>
<BR>
Does anyone have an idea why this is? I was guessing that perhaps it's queueing up the start/stop functions and executing them causing the flashing but I'm probably wrong there.<BR>
<BR>
I guess another question is when does jQuery consider an $.ajax call stopped?<BR>
<BR>
Regards,<BR>
<BR>
Gerry Tucker<BR><br /><hr />Be one of the first to try <a href='http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d' target='_new'>Windows Live Mail.</a></body>
</html>_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/