GetLabelByName

Finds an HTML DOM object that matches the label for the specified name. Use this command to find the label to use in other JavaScript calls.

Parameters

Name Type Description
objName String The name of the field label to find.

Return Value

Result Value
Success Label object corresponding to a field. This is a <label> element.
Failure Null

Examples

This example returns the label object:

GetLabelByName("Unit Price");

Comments

(none)