Home › Forums › Guriddo jqGrid JS › Help › afterSubmit event
I read docuemntation about afterSbmit event but
afterSubmit : function (resp, postdata)
// you should return from server OK in sucess, any other message on error
if(resp.responseText == “OK”)
alert(“Update is succefully”)
This is good, but how would i display the success message on the form itself and not a pop-up also i want to stay on the form after submit button is pressed.
Best Regards and a Happy new year!
Sorry not possible for now. What I do common in my applications is to call a custom function on succes whisc displays the message at bootom top screen for some time and the disappear.
Look here to have a idea:
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS