fires each time before data sending of any data item
id | id | id of related item |
update | object | object which holds state of data saving |
some.attachEvent("onBeforeUpdate", function(id, object){
//... some code here ...
});
There is no "onBefore" event, but there is a family of similar events - "onBeforeUpdate", "onBeforeInsert", "onBeforeDelete" - based on update type one of them will be called