Method of Form.body New in package 165
Syntax
Form.body.insertBefore( control, anchorControl )
Parameters
Parameter | Description |
---|---|
control | A control to be appended to the form. |
anchorControl | An anchor control before which control is inserted. |
Description
Inserts the specified control before the anchor control as a child of Form.body. If anchorControl is null, the control is inserted at the end of the list of form elements. The control must not be already a part of the form. See Form.body.appendChild for control accessibility notes.
Examples
Placing a dynamically created box on the form before an anchor control:
See Also
Form.body.insertAfter, Form.body.appendChild, Form.body.removeChild, Form.createControlFromXML