detachEvent

detaches a handler from an event (which was attached before by the attachEvent method)

void detachEvent(string id);

Parameters

idstringthe event's id

Example

var myEvent = scheduler.attachEvent("onClick", function (id){
    ...//event handler code
});
...
scheduler.detachEvent(myEvent);

See also
Back to top