onAfterUpdate
fires after receiving and processing server side response
void onAfterUpdate(string|number id,string action,string tid,mixed response);
id | string|number | id of updated item |
action | string | response status (operation type) |
tid | string | new id (applicable only for insert operations) |
response | mixed | xml node/json object, contains parsed xml/json response |
Example
dp.attachEvent("onAfterUpdate", function(id, action, tid, response){
//your code here
})
Details
Possible response statuses are the following:
- updated;
- inserted;
- deleted;
- invalid;
- error.