Javascript Document

document object Javascript is used to get XUL controls of the Wizard page. With getElementById method you can get :

To get XUL control, you must write the following script :

var xulControl = document.getElementById('xulControlId');

where xulControlId is the ID of the XUL control.

textbox XUL

XUL textbox with ID xulTextboxId est written into XUL like this :

<textbox id="xulTextboxId" ... />

Supported properties by this control are :

valueTextbox value

Here script sample to update textbox value with ID xulTextboxId with string NEW value :

  document.getElementById('xulTextboxId').value = 'NEW value';

menulist XUL