getAcceptCharset
public String getAcceptCharset()
List of character sets supported by the server. See the accept-charset
attribute definition in HTML 4.01.
- getAcceptCharset in interface HTMLFormElement
getAction
public String getAction()
Server-side form handler. See the action attribute definition in HTML
4.01.
- getAction in interface HTMLFormElement
getEnctype
public String getEnctype()
The content type of the submitted form, generally
"application/x-www-form-urlencoded". See the enctype attribute
definition in HTML 4.01. The onsubmit even handler is not guaranteed
to be triggered when invoking this method. The behavior is
inconsistent for historical reasons and authors should not rely on a
particular one.
- getEnctype in interface HTMLFormElement
getOnsubmit
public Function getOnsubmit()
getTarget
public String getTarget()
Frame to render the resource in. See the target attribute definition in
HTML 4.01.
- getTarget in interface HTMLFormElement
item
public Object item(int index)
namedItem
public Object namedItem(String name)
reset
public void reset()
Restores a form element's default values. It performs the same action
as a reset button.
- reset in interface HTMLFormElement
setAcceptCharset
public void setAcceptCharset(String acceptCharset)
List of character sets supported by the server. See the accept-charset
attribute definition in HTML 4.01.
- setAcceptCharset in interface HTMLFormElement
setAction
public void setAction(String action)
Server-side form handler. See the action attribute definition in HTML
4.01.
- setAction in interface HTMLFormElement
setEnctype
public void setEnctype(String enctype)
The content type of the submitted form, generally
"application/x-www-form-urlencoded". See the enctype attribute
definition in HTML 4.01. The onsubmit even handler is not guaranteed
to be triggered when invoking this method. The behavior is
inconsistent for historical reasons and authors should not rely on a
particular one.
- setEnctype in interface HTMLFormElement
setOnsubmit
public void setOnsubmit(Function value)
setTarget
public void setTarget(String target)
Frame to render the resource in. See the target attribute definition in
HTML 4.01.
- setTarget in interface HTMLFormElement
submit
public void submit()
Submits the form. It performs the same action as a submit button.
- submit in interface HTMLFormElement
submit
public final void submit(FormInput[] extraFormInputs)
This method should be called when form submission is
done by a submit button.
extraFormInputs
- Any additional form inputs that
need to be submitted, e.g. the submit button parameter.