[jQuery] ajax start/stop/error - what I'm doing wrong?
Hi there!
I'm having some troubles with ajaxStart/Stop/Error etc. I can't make them
work.
Here's a small test page:
http://stamen.lasvegas-nevada.com/jq/ajtest.html
If you look at the code you'll see what I mean.
Seems that this block:
$("#loader")
.ajaxStart (function () {$("#loader").append("started...
");})
.ajaxStop (function () {$("#loader").append("stopped...
")})
.ajaxError (function () {$("#loader").append("<p
class='error'>error...")})
.ajaxSuccess (function () {$("#loader").append("success!
")});
Doesn't work at all.
Using jQuery:
* $Date: 2006-10-09 20:23:18 -0400 (Mon, 09 Oct 2006) $
* $Rev: 413 $
Can somebody help me?
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/