class HTMLFormElement

The FORM element encompasses behavior similar to a collection and an element. More...

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

Public Methods

Protected Methods


Detailed Description

The FORM 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 FORM element definition in HTML 4.0.

 HTMLFormElement ()

HTMLFormElement

 HTMLFormElement (const HTMLFormElement &other)

HTMLFormElement

 HTMLFormElement (const Node &other)

HTMLFormElement

 HTMLFormElement (HTMLFormElementImpl *impl)

HTMLFormElement

[protected]

HTMLFormElement &  operator = (const HTMLFormElement &other)

operator =

Reimplemented from HTMLElement.

HTMLFormElement &  operator = (const Node &other)

operator =

Reimplemented from HTMLElement.

 ~HTMLFormElement ()

~HTMLFormElement

HTMLCollection  elements ()

elements

[const]

Returns a collection of all control elements in the form.

long  length ()

length

[const]

The number of form controls in the form.

DOMString  name ()

name

[const]

Names the form.

void  setName ( const DOMString & )

setName

see name

DOMString  acceptCharset ()

acceptCharset

[const]

List of character sets supported by the server. See the accept-charset attribute definition in HTML 4.0.

void  setAcceptCharset ( const DOMString & )

setAcceptCharset

see acceptCharset

DOMString  action ()

action

[const]

Server-side form handler. See the action attribute definition in HTML 4.0.

void  setAction ( const DOMString & )

setAction

see action

DOMString  enctype ()

enctype

[const]

The content type of the submitted form, generally "application/x-www-form-urlencoded". See the enctype attribute definition in HTML 4.0.

void  setEnctype ( const DOMString & )

setEnctype

see enctype

DOMString  method ()

method

[const]

HTTP method used to submit form. See the method attribute definition in HTML 4.0.

void  setMethod ( const DOMString & )

setMethod

see method

DOMString  target ()

target

[const]

Frame to render the resource in. See the target attribute definition in HTML 4.0.

void  setTarget ( const DOMString & )

setTarget

see target

void  submit ( )

submit

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

void  reset ( )

reset

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


Generated by: dfaure on faure on Tue Apr 16 08:50:42 2002, using kdoc 2.0a53.