Please enable JavaScript to view this site.

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

JavaScript API: Control object > makeReadWrite()

Scroll Prev Next More

 

Makes the control writable.

Syntax

ctrl.makeReadWrite();

Arguments

No arguments.

Return value

No return value.

Example

Make the control writable using the JavaScript OnLoad event:

 

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

See also:

JavaScript API: Control object > getControl()

JavaScript API: Control object > isReadonly()

JavaScript API: Control object > makeReadonly()

JavaScript API: Control object > reset()

JavaScript API: Control object > getValue()

Events: JavaScript OnLoad

JavaScript API: Control object

JavaScript API