Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > Control object > Methods

JavaScript API: Control object > clearEvent()

Scroll Prev Next More

 

Deletes events.

Syntax

ctrl.clearEvent(event);

Arguments

event

one of the available event values.

Return value

No return value.

Example

Delete the 'click' event using the JavaScript OnLoad event:

 

var ctrl = Runner.getControl(pageid, 'Make');
ctrl.clearEvent('click');

See also:

JavaScript API: Control object > getControl()

JavaScript API: Control object > on()

JavaScript API: Control object > clear()

JavaScript API: Control object > hide()

JavaScript API: Control object > reset()

JavaScript API: Control object > setDisabled()

Event: JavaScript OnLoad

JavaScript API: Control object

JavaScript API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software