[jQuery] ajaxstart and ajaxstop question
I am using the blockUI plugin. I can block the ui directly when I call
jQuery.blockUI() as an onclick event method,;, but both ajaxStart and
ajaxStop do not seem to be working. They are not determining the begin and
end of my ajax calls.
When I write
jQuery(document).ready(function(){
jQuery().ajaxStart(jQuery.blockUI).ajaxStop(jQuery.unblockUI);
});
The block and unblock UI calls are not getting made, hence blockUI is not
being done. The only difference between my code and the example is that I am
NOT using a jQuery ajax call; The ajax call is getting made by a jsf
rendered component - The component is using the prototype library - hence
the reason for jQuery instead of $.
Is using a jQuery ajax call required for ajaxStart and ajaxStop calls to
recognize the begin and end of an ajax submission? If not, then, is there
some setting I have to set in order to get those functions to work - I am
using jQuery1.2.1.js on BOTH FF and IE6 - same results in both.
--
View this message in context: http://www.nabble.com/ajaxstart-and-ajaxstop-question-tp14540919s27240p14540919.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.