fires before item deleting is initiated
id | string|number | id of the item which will be removed |
boolean | true to trigger the default action, false to block it |
myList.attachEvent("onBeforeDelete", function (id){
// your code here
});
the event is blockable, returning false will block the default action
Back to top