[jQuery] Global ajaxError event
I want to catch the global ajaxError event rather than having to deal with
it on each ajax call. However, I don't really need to attach it to any
particular element--it's a global handler, after all. So is the general
wisdom to just attach it to window or document?
Also, none of the global events are passed information on the request that
caused the error, which makes it difficult to report any details on the
problem. It would be handy if they got the request or at least the error
code.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/