SBM JavaScript Library Guide → Internal Functions → 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.
Name | Type | Description |
---|---|---|
objName | String | The name of the field label to find. |
Result | Value |
---|---|
Success | Label object corresponding to a field. This is a <label> element. |
Failure | Null |
This example returns the label object:
GetLabelByName("Unit Price");
(none)
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.