Whats the best way to hookup AJAX functionality to an existing Form using jQuery and allow for an error handling callback.
The [`jQuery.ajax(...)`] built in function has the following (useful) callback functions:
I thought I'd found my answer with the [jQuery.Form] plugin, but for some crazy reason they don't give you access to an error callback!! Other than this omission it seems quite useful.
I'm really dismayed in general by the amount of articles out there that recommend using `jQuery.get` before they would recommend `jQuery.ajax`. Just to recap: `get()` does not have an error callback, but `ajax()` does.
In my opinion you should **always** use `ajax()` because you always should have *some* kind of error handling logic.
Are there any other nice plugins - especially something that plays well with ASP.NET-MVC that I should use that make hooking everything up easier?
以上就是jQuery plug-in to hookup AJAX form - MUST provide error callback的详细内容，更多请关注web前端其它相关文章！