Mike Alsup schrieb: >> I said I was confused yesterday... I have never used them and thought >> they work like $.ajaxTimeout. Ok, then make it: >> >> $(document.body).ajaxStart($.blockUI).ajaxStop($.unblockUI); > > That will work. But I still prefer this syntax: > > $().ajaxStart($.blockUI).ajaxStop($.unblockUI); > > :-)
I wasn't sure about the empty jQuery object. So whenever I need a jQuery stub, I can use $()... On the other hand, because your are blocking the whole document, $(document.body) makes some sense in terms of readability. -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
