.TH "DOM::HTMLFormElement" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::HTMLFormElement \- The \fC FORM \fP element encompasses behavior similar to a collection and an element.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <html_form.h>\fP
.PP
Inherits \fBDOM::HTMLElement\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLFormElement\fP (const  \fBHTMLFormElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLFormElement\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBHTMLFormElement\fP & \fBoperator=\fP (const  \fBHTMLFormElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLFormElement\fP & \fBoperator=\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBHTMLCollection\fP \fBelements\fP () const "
.br
.RI "\fIReturns a collection of all control elements in the form. \fP"
.ti -1c
.RI "long \fBlength\fP () const "
.br
.RI "\fIThe number of form controls in the form. \fP"
.ti -1c
.RI "\fBDOMString\fP \fBname\fP () const "
.br
.RI "\fINames the form. \fP"
.ti -1c
.RI "void \fBsetName\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBname\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBacceptCharset\fP () const "
.br
.RI "\fIList of character sets supported by the server. \fP"
.ti -1c
.RI "void \fBsetAcceptCharset\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBacceptCharset\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBaction\fP () const "
.br
.RI "\fIServer-side form handler. \fP"
.ti -1c
.RI "void \fBsetAction\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBaction\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBenctype\fP () const "
.br
.RI "\fIThe content type of the submitted form, generally 'application/x-www-form-urlencoded'. \fP"
.ti -1c
.RI "void \fBsetEnctype\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBenctype\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBmethod\fP () const "
.br
.RI "\fIHTTP method used to submit form. \fP"
.ti -1c
.RI "void \fBsetMethod\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBmethod\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBtarget\fP () const "
.br
.RI "\fIFrame to render the resource in. \fP"
.ti -1c
.RI "void \fBsetTarget\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBtarget\fP \fP"
.ti -1c
.RI "void \fBsubmit\fP ()"
.br
.RI "\fISubmits the form. \fP"
.ti -1c
.RI "void \fBreset\fP ()"
.br
.RI "\fIRestores a form element's default values. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLFormElement\fP (HTMLFormElementImpl *impl)"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBHTMLButtonElement\fP"
.br
.ti -1c
.RI "class \fBHTMLFieldSetElement\fP"
.br
.ti -1c
.RI "class \fBHTMLInputElement\fP"
.br
.ti -1c
.RI "class \fBHTMLLabelElement\fP"
.br
.ti -1c
.RI "class \fBHTMLLegendElement\fP"
.br
.ti -1c
.RI "class \fBHTMLSelectElement\fP"
.br
.ti -1c
.RI "class \fBHTMLTextAreaElement\fP"
.br
.ti -1c
.RI "class \fBHTMLOptionElement\fP"
.br
.ti -1c
.RI "class \fBHTMLIsIndexElement\fP"
.br
.ti -1c
.RI "class \fBHTMLObjectElement\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fC FORM \fP 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 \fCFORM element definition \fP in HTML 4.0. 
.PP
Definition at line 193 of file html_form.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBHTMLCollection\fP HTMLFormElement::elements () const"
.PP
Returns a collection of all control elements in the form. Definition at line 199 of file html_form.cpp.
.SS "long HTMLFormElement::length () const"
.PP
The number of form controls in the form. Definition at line 205 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLFormElement::name () const"
.PP
Names the form. Definition at line 211 of file html_form.cpp.
.SS "void HTMLFormElement::setName (const \fBDOMString\fP &)"
.PP
see \fBname\fP Definition at line 217 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLFormElement::acceptCharset () const"
.PP
List of character sets supported by the server. See the \fCaccept-charset attribute definition \fP in HTML 4.0. Definition at line 222 of file html_form.cpp.
.SS "void HTMLFormElement::setAcceptCharset (const \fBDOMString\fP &)"
.PP
see \fBacceptCharset\fP Definition at line 228 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLFormElement::action () const"
.PP
Server-side form handler. See the \fCaction attribute definition \fP in HTML 4.0. Definition at line 233 of file html_form.cpp.
.SS "void HTMLFormElement::setAction (const \fBDOMString\fP &)"
.PP
see \fBaction\fP Definition at line 239 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLFormElement::enctype () const"
.PP
The content type of the submitted form, generally 'application/x-www-form-urlencoded'. See the \fCenctype attribute definition \fP in HTML 4.0. Definition at line 244 of file html_form.cpp.
.SS "void HTMLFormElement::setEnctype (const \fBDOMString\fP &)"
.PP
see \fBenctype\fP Definition at line 250 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLFormElement::method () const"
.PP
HTTP method used to submit form. See the \fCmethod attribute definition \fP in HTML 4.0. Definition at line 255 of file html_form.cpp.
.SS "void HTMLFormElement::setMethod (const \fBDOMString\fP &)"
.PP
see \fBmethod\fP Definition at line 261 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLFormElement::target () const"
.PP
Frame to render the resource in. See the \fCtarget attribute definition \fP in HTML 4.0. Definition at line 266 of file html_form.cpp.
.SS "void HTMLFormElement::setTarget (const \fBDOMString\fP &)"
.PP
see \fBtarget\fP Definition at line 272 of file html_form.cpp.
.SS "void HTMLFormElement::submit ()"
.PP
Submits the form. It performs the same action as a submit button. Definition at line 277 of file html_form.cpp.
.SS "void HTMLFormElement::reset ()"
.PP
Restores a form element's default values. It performs the same action as a reset button. Definition at line 282 of file html_form.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
