EasyUI Forum
April 19, 2024, 02:04:24 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error event of form plugin  (Read 20076 times)
Xiaolin
Newbie
*
Posts: 14


View Profile Email
« 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"?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!