Please enable JavaScript to view this site.

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

JavaScript API: Control object > setEnabled()

Scroll Prev Next More

 

Makes the control enabled.

Syntax

ctrl.setEnabled();

Arguments

No arguments.

Return value

No return value.

Example

Make the control "enabled" using the JavaScript OnLoad event:

 

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

See also:

JavaScript API: Control object > getControl()

JavaScript API: Control object > setDisabled()

JavaScript API: Control object > clear()

JavaScript API: Control object > hide()

JavaScript API: Control object > reset()

Events: JavaScript OnLoad

JavaScript API: Control object

JavaScript API

 

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