Event occurs when record was deleted from server
Parameters for inputs
myform.attachEvent("onAfterRemove", function (id, xml){ //any custom logic here });