.off()

Previous Next

Removes a handler from an event (in the same way as in the jQuery implementation).

Returns the 'this' object.

Syntax

.off( eventTypehandler(event) )

The required eventType is a string that identifies the event to unbind. The possible values for the 'eventType' parameter are described in the USoft Events section.

The required handler(event) is a function that identifies the entry to be removed.

 

Example

function OnSelect(event, r) {al

 alert(Row: ' + r.index());

};

$.udb('EMP').on('rowselect', OnSelect);

$.udb('EMP').off('rowselect', OnSelect);

 

See Also

.on()