$ To return an error from AXX call, an error in ezacks.fpp will be a better method than resonating
success: work (e) {var e = trim (e); If (e == 'success') (Warning ('your password has changed!');} If (e == 'ERROR1') {Warning ('Please fill in all input!') Warning ('password incorrect!')}} (E == 'ERROR3') {Warning ('change failed!');}}
What should I instead ?!
returns JSON:
{Success: incorrect, error message: 'Please fill in all the inputs!' }
and then:
success: function (e) {if (e.success) {warning ('your password has changed!') ; } And {warnings (e.errorMessage); }}
Comments
Post a Comment