Home » xml-commons-external-1.4.01-src » org.w3c » dom » html » [javadoc | source]
org.w3c.dom.html
public interface: HTMLFormElement [javadoc | source]

All Implemented Interfaces:
    HTMLElement

The FORM element encompasses behavior similar to acollection and an element. It provides direct access to the containedinput elements as well as the attributes of the form element. See the FORM element definition in HTML 4.0.
Method from org.w3c.dom.html.HTMLFormElement Summary:
getAcceptCharset,   getAction,   getElements,   getEnctype,   getLength,   getMethod,   getName,   getTarget,   reset,   setAcceptCharset,   setAction,   setEnctype,   setMethod,   setName,   setTarget,   submit
Method from org.w3c.dom.html.HTMLFormElement Detail:
 public String getAcceptCharset()
    List of character sets supported by the server. See the accept-charset attribute definition in HTML 4.0.
 public String getAction()
    Server-side form handler. See the action attribute definition in HTML 4.0.
 public HTMLCollection getElements()
    Returns a collection of all control elements in the form.
 public String getEnctype()
    The content type of the submitted form, generally "application/x-www-form-urlencoded". See the enctype attribute definition in HTML 4.0.
 public int getLength()
    The number of form controls in the form.
 public String getMethod()
    HTTP method used to submit form. See the method attribute definition in HTML 4.0.
 public String getName()
    Names the form.
 public String getTarget()
    Frame to render the resource in. See the target attribute definition in HTML 4.0.
 public  void reset()
    Restores a form element's default values. It performs the same action as a reset button.
 public  void setAcceptCharset(String acceptCharset)
 public  void setAction(String action)
 public  void setEnctype(String enctype)
 public  void setMethod(String method)
 public  void setName(String name)
 public  void setTarget(String target)
 public  void submit()
    Submits the form. It performs the same action as a submit button.