Hey!
I’m trying to write in some error handling for the updateData() function. I found in the documentation that the method returns a jQuery deferred promise object.
I am able to get it to work for the deferred.done method when there’s no error:
However, it does not seem to work for the deferred.fail method when there is an error:
Am I doing something wrong, or is there a better way to implement error handling with the updateData method?
Thanks!
Kartik
Question
Error handling with updateData()
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.