EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Xiaolin on July 06, 2011, 07:13:11 AM



Title: Error event of form plugin
Post by: Xiaolin on July 06, 2011, 07:13:11 AM
There is a "success" event in form plugin, which will be fired when the form is submitted success, but what if the submission is failed? Do we have a event something like "error"?


Title: Re: Error event of form plugin
Post by: stworthy on July 06, 2011, 07:15:36 PM
The success callback function of form plugin is fired when the response data returned from server, which usually takes correct and error data. The submit action is processed by using invisible iframe and not by XHR, so we don't need the error callback function.