JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.javascript.host.html

Class HTMLLabelElement

    • Constructor Detail

      • HTMLLabelElement

        public HTMLLabelElement()
    • Method Detail

      • getHtmlFor

        public String getHtmlFor()
        Retrieves the object to which the given label object is assigned.
        Returns:
        the identifier of the element to which the label element is assigned
      • setHtmlFor

        public void setHtmlFor(String id)
        Sets or retrieves the object to which the given label object is assigned.
        Parameters:
        id - Specifies the identifier of the element to which the label element is assigned
        See Also:
        MSDN Documentation
      • getControl

        public HTMLElement getControl()
        Returns:
        the HTMLElement labeled by the given label object
      • getForm

        public HTMLFormElement getForm()
        Returns the value of the JavaScript form attribute.
        Overrides:
        getForm in class HTMLElement
        Returns:
        the value of the JavaScript form attribute
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /