> Couldn't you just use the .ajaxError() method in conjunction with  
> $.get or $.post? That seems to work for me.

I use that technique as well, and it's nice because it gets the error
checking out of the way of the main code. I also have used a wrapper
plugin around $.ajax in some cases. Neither is burdensome.

$.ajax is already one of the most complex and least consistent methods
in jQuery, so if anything I'd like to see it get simpler. For example,
the method now handles jsonp requests (based on either dataType or the
domain in the url) but many of the completion methods expect a xhr
object which jsonp requests don't have.

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=.


Reply via email to