[jQuery] ajaxStart etc. not working
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Tahoma">This code doesn't work with 1.0a
//
// Ajax loading
$(document).ajaxStart(
function() {
alert('test');
$('#ajaxBusy').show();
}
).ajaxStop(
function() {
$('#ajaxBusy').hide();
}
);
I'm trying to bind one global event handler for ajax loading. Attaching
the functions to the div which gets updated also doesn't work.
-- Gilles
</font></font>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/