class HTMLFormElement

The <code> FORM </code> element encompasses behavior similar to a collection and an element. More...

Full nameDOM::HTMLFormElement
Definition#include <html_form.h>
InheritsDOM::HTMLElement
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

The <code> FORM </code> element encompasses behavior similar to a collection and an element. It provides direct access to the contained input elements as well as the attributes of the form element. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FORM"> FORM element definition </a> in HTML 4.0.

HTMLCollection  elements ()

[const]

Returns a collection of all control elements in the form.

long  length ()

[const]

The number of form controls in the form.

DOMString  name ()

[const]

Names the form.

void  setName ( const DOMString & )

see name

DOMString  acceptCharset ()

[const]

List of character sets supported by the server. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept-charset"> accept-charset attribute definition </a> in HTML 4.0.

void  setAcceptCharset ( const DOMString & )

see acceptCharset

DOMString  action ()

[const]

Server-side form handler. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-action"> action attribute definition </a> in HTML 4.0.

void  setAction ( const DOMString & )

see action

DOMString  enctype ()

[const]

The content type of the submitted form, generally "application/x-www-form-urlencoded". See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-enctype"> enctype attribute definition </a> in HTML 4.0.

void  setEnctype ( const DOMString & )

see enctype

DOMString  method ()

[const]

HTTP method used to submit form. See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-method"> method attribute definition </a> in HTML 4.0.

void  setMethod ( const DOMString & )

see method

DOMString  target ()

[const]

Frame to render the resource in. See the <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> target attribute definition </a> in HTML 4.0.

void  setTarget ( const DOMString & )

see target

void  submit ( )

Submits the form. It performs the same action as a submit button.

void  reset ( )

Restores a form element's default values. It performs the same action as a reset button.


Generated by: ssk@tauon.ph.unimelb.EDU.AU on Wed May 23 05:55:52 2001, using kdoc 2.0a35.