getLabelId()

This method returns the ID of the DOM node which renders the standard, form-supplied label for this control. It is useful in situations where the label needs to be referenced for accessibility purposes. For example: by using the ID in corresponding ARIA attributes on the control widgets.

Method Return Value:

  • String