Home › Forums › Guriddo jqGrid JS › Help › to get Server answer
Hi Tony.
I am using your Navigator program to study your great Jqgrid but I don't know how
Use afterSubmit event for this purpose.
See docs
Regards
Tony
Thanks for your answer.
I used afterSubmit but the result was not exactly that I want.
Hello
Server ansver is already here
afterSubmit:function(server_status,aPostdata)
where server_status is the data returned from that server.
You should analyze it do something depending on it.
What is the data from server you should known
Sorry for disturb you but probably my script has a litte bug because the command alert(server_status+” xxx “+aPostdata) return the value [object XMLHttpRequest]
Hello,
You should understand what is here.
1. status in your case is the data returned from the server. Typically thas can be xml, json,text and etc. To get the contents from server you should
analyze something like this status.responseText
My problem
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS