GlideForm - getElement(String id)

Returns the HTML element specified by the parameter.

Compound fields may contain several HTML elements. This method is generally not necessary as there are built-in methods that use the fields on a form.

This method is not available in mobile scripts or Service Portal scripts.

Table 1. Parameters
Name Type Description
id String The field id.
Table 2. Returns
Type Description
HTMLElement The field's HTML element.