Please enable JavaScript to view this site.

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

JavaScript API: Control object > show()

Scroll Prev Next More

 

Shows the control.

Syntax

ctrl.show();

Arguments

No arguments.

Return value

No return value.

Example

Show the control using the JavaScript OnLoad event:

 

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

See also:

JavaScript API: Control object > getControl()

JavaScript API: Control object > hide()

JavaScript API: Control object > setEnabled()

Example: Show dropdown list of US states if US was selected in country list

Events: JavaScript OnLoad

JavaScript API: RunnerPage object > showField()

JavaScript API: Control object

JavaScript API