<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>khtml: DOM::HTMLFormElement Class Reference (khtml)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../.."><img id="nav_header_logo" alt="Home" align="left" src="../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../..">API Reference</a> / <a href=".">khtml</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.7.4 --> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceDOM.html">DOM</a> </li> <li class="navelem"><a class="el" href="classDOM_1_1HTMLFormElement.html">HTMLFormElement</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">DOM::HTMLFormElement Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="DOM::HTMLFormElement" --><!-- doxytag: inherits="DOM::HTMLElement" --> <p>The <code>FORM</code> element encompasses behavior similar to a collection and an element. <a href="classDOM_1_1HTMLFormElement.html#details">More...</a></p> <p><code>#include <<a class="el" href="html__form_8h_source.html">html_form.h</a>></code></p> <div class="dynheader"> Inheritance diagram for DOM::HTMLFormElement:</div> <div class="dyncontent"> <div class="center"> <img src="classDOM_1_1HTMLFormElement.png" usemap="#DOM::HTMLFormElement_map" alt=""/> <map id="DOM::HTMLFormElement_map" name="DOM::HTMLFormElement_map"> <area href="classDOM_1_1HTMLElement.html" title="All HTML element interfaces derive from this class." alt="DOM::HTMLElement" shape="rect" coords="0,112,155,136"/> <area href="classDOM_1_1Element.html" title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume..." alt="DOM::Element" shape="rect" coords="0,56,155,80"/> <area href="classDOM_1_1Node.html" title="The Node interface is the primary datatype for the entire Document Object Model." alt="DOM::Node" shape="rect" coords="0,0,155,24"/> </map> </div></div> <p><a href="classDOM_1_1HTMLFormElement-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a520bb420e04bf1af81a9c6a9a0dfa203"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLFormElement" ref="a520bb420e04bf1af81a9c6a9a0dfa203" args="(const HTMLFormElement &other)" -->  </td><td class="memItemRight" valign="bottom"><b>HTMLFormElement</b> (const <a class="el" href="classDOM_1_1HTMLFormElement.html">HTMLFormElement</a> &other)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9db31e22f62fa7f7b669d4f9b7db5a12"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLFormElement" ref="a9db31e22f62fa7f7b669d4f9b7db5a12" args="(const Node &other)" -->  </td><td class="memItemRight" valign="bottom"><b>HTMLFormElement</b> (const <a class="el" href="classDOM_1_1Node.html">Node</a> &other)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1309f8746b42e4c94aa3f3fdb7e19401"></a><!-- doxytag: member="DOM::HTMLFormElement::operator=" ref="a1309f8746b42e4c94aa3f3fdb7e19401" args="(const HTMLFormElement &other)" --> <a class="el" href="classDOM_1_1HTMLFormElement.html">HTMLFormElement</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classDOM_1_1HTMLFormElement.html">HTMLFormElement</a> &other)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c86cf827617e97a312c5f8a878982a4"></a><!-- doxytag: member="DOM::HTMLFormElement::operator=" ref="a4c86cf827617e97a312c5f8a878982a4" args="(const Node &other)" --> <a class="el" href="classDOM_1_1HTMLFormElement.html">HTMLFormElement</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classDOM_1_1Node.html">Node</a> &other)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1HTMLCollection.html">HTMLCollection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#aa0ddfa004949f4bd467f6201d4416835">elements</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#aa29f441c377c26569871e7aed346941a">length</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#a775835360a29b3a2ab8ff27d052ed689">name</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#afb05e19bc6a8310a61192878394ef548">setName</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#af653ca1ab2baa3135e9998e193052481">acceptCharset</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#a5d2fe55adbc297a3b7d168947ef20ec3">setAcceptCharset</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#a64d3019694f8ae868efa215ac39c3b86">action</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#a46bc236c03c7833421046b2d1a661e7c">setAction</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#ab5ce49f7fd1e7ed1ce4ebeb84a73b8dc">enctype</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#a8a51559c95f53fbf682df23f45fb7ebd">setEnctype</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#acefe2ddc0240e7457ec47031a6cd3ffc">method</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#a083a6350cc9c1ee3e4a9aace9be06fd1">setMethod</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#aab859b140c7b72cff3310b7fa11bfa9e">target</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#ac252fe603c456b5c1ad0fed4d352bf45">setTarget</a> (const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> &)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#aa8246badcfd4859c5eaa3dd8e271be66">submit</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDOM_1_1HTMLFormElement.html#a6016f60a9531e91587e8f2295319eecd">reset</a> ()</td></tr> <tr><td colspan="2"><h2><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1423c3dbbc265a876e51fa77ab41f49"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLFormElement" ref="ad1423c3dbbc265a876e51fa77ab41f49" args="(HTMLFormElementImpl *impl)" -->  </td><td class="memItemRight" valign="bottom"><b>HTMLFormElement</b> (HTMLFormElementImpl *impl)</td></tr> <tr><td colspan="2"><h2><a name="friends"></a> Friends</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1f2c978c84df6aa541d3dc72c91d880"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLButtonElement" ref="ad1f2c978c84df6aa541d3dc72c91d880" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLButtonElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5fe778fcfe41128ef5bbd874db99d948"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLFieldSetElement" ref="a5fe778fcfe41128ef5bbd874db99d948" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLFieldSetElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a263184921d82cd05957025ae38ab9308"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLInputElement" ref="a263184921d82cd05957025ae38ab9308" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLInputElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ffc9f181d0e90347f656dd55ca9f5d1"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLLabelElement" ref="a0ffc9f181d0e90347f656dd55ca9f5d1" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLLabelElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa057fbc6cffa142d3f1c816d10118d8"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLLegendElement" ref="aaa057fbc6cffa142d3f1c816d10118d8" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLLegendElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17d200ad9a0dfaefef4c87ad2584e59f"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLSelectElement" ref="a17d200ad9a0dfaefef4c87ad2584e59f" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLSelectElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0faca0aa769c1111ce1420dd9bdbf0d"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLTextAreaElement" ref="ae0faca0aa769c1111ce1420dd9bdbf0d" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLTextAreaElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ce19cf982456d49294acb47753f8e39"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLOptionElement" ref="a0ce19cf982456d49294acb47753f8e39" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLOptionElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a140a755eafd1dc6e919ce7bf82bd4614"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLIsIndexElement" ref="a140a755eafd1dc6e919ce7bf82bd4614" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLIsIndexElement</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7ce1109031295c7a3a25624110db8d51"></a><!-- doxytag: member="DOM::HTMLFormElement::HTMLObjectElement" ref="a7ce1109031295c7a3a25624110db8d51" args="" --> class </td><td class="memItemRight" valign="bottom"><b>HTMLObjectElement</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>The <code>FORM</code> element encompasses behavior similar to a collection and an element. </p> <p>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. </p> <p>Definition at line <a class="el" href="html__form_8h_source.html#l00206">206</a> of file <a class="el" href="html__form_8h_source.html">html_form.h</a>.</p> </div><hr/><h2>Member Function Documentation</h2> <a class="anchor" id="af653ca1ab2baa3135e9998e193052481"></a><!-- doxytag: member="DOM::HTMLFormElement::acceptCharset" ref="af653ca1ab2baa3135e9998e193052481" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> HTMLFormElement::acceptCharset </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>List of character sets supported by the server. </p> <p>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. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00233">233</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="a64d3019694f8ae868efa215ac39c3b86"></a><!-- doxytag: member="DOM::HTMLFormElement::action" ref="a64d3019694f8ae868efa215ac39c3b86" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> HTMLFormElement::action </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Server-side form handler. </p> <p>See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-action">action attribute definition </a> in HTML 4.0. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00244">244</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="aa0ddfa004949f4bd467f6201d4416835"></a><!-- doxytag: member="DOM::HTMLFormElement::elements" ref="aa0ddfa004949f4bd467f6201d4416835" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDOM_1_1HTMLCollection.html">HTMLCollection</a> HTMLFormElement::elements </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Returns a collection of all control elements in the form. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00210">210</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="ab5ce49f7fd1e7ed1ce4ebeb84a73b8dc"></a><!-- doxytag: member="DOM::HTMLFormElement::enctype" ref="ab5ce49f7fd1e7ed1ce4ebeb84a73b8dc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> HTMLFormElement::enctype </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The content type of the submitted form, generally "application/x-www-form-urlencoded". </p> <p>See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-enctype">enctype attribute definition </a> in HTML 4.0. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00255">255</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="aa29f441c377c26569871e7aed346941a"></a><!-- doxytag: member="DOM::HTMLFormElement::length" ref="aa29f441c377c26569871e7aed346941a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">long HTMLFormElement::length </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>The number of form controls in the form. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00216">216</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="acefe2ddc0240e7457ec47031a6cd3ffc"></a><!-- doxytag: member="DOM::HTMLFormElement::method" ref="acefe2ddc0240e7457ec47031a6cd3ffc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> HTMLFormElement::method </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>HTTP method used to submit form. </p> <p>See the <a href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-method">method attribute definition </a> in HTML 4.0. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00266">266</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="a775835360a29b3a2ab8ff27d052ed689"></a><!-- doxytag: member="DOM::HTMLFormElement::name" ref="a775835360a29b3a2ab8ff27d052ed689" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> HTMLFormElement::name </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Names the form. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00222">222</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="a6016f60a9531e91587e8f2295319eecd"></a><!-- doxytag: member="DOM::HTMLFormElement::reset" ref="a6016f60a9531e91587e8f2295319eecd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::reset </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Restores a form element's default values. </p> <p>It performs the same action as a reset button. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00293">293</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="a5d2fe55adbc297a3b7d168947ef20ec3"></a><!-- doxytag: member="DOM::HTMLFormElement::setAcceptCharset" ref="a5d2fe55adbc297a3b7d168947ef20ec3" args="(const DOMString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::setAcceptCharset </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>see acceptCharset </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00239">239</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="a46bc236c03c7833421046b2d1a661e7c"></a><!-- doxytag: member="DOM::HTMLFormElement::setAction" ref="a46bc236c03c7833421046b2d1a661e7c" args="(const DOMString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::setAction </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>see action </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00250">250</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="a8a51559c95f53fbf682df23f45fb7ebd"></a><!-- doxytag: member="DOM::HTMLFormElement::setEnctype" ref="a8a51559c95f53fbf682df23f45fb7ebd" args="(const DOMString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::setEnctype </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>see enctype </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00261">261</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="a083a6350cc9c1ee3e4a9aace9be06fd1"></a><!-- doxytag: member="DOM::HTMLFormElement::setMethod" ref="a083a6350cc9c1ee3e4a9aace9be06fd1" args="(const DOMString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::setMethod </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>see method </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00272">272</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="afb05e19bc6a8310a61192878394ef548"></a><!-- doxytag: member="DOM::HTMLFormElement::setName" ref="afb05e19bc6a8310a61192878394ef548" args="(const DOMString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::setName </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>see name </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00228">228</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="ac252fe603c456b5c1ad0fed4d352bf45"></a><!-- doxytag: member="DOM::HTMLFormElement::setTarget" ref="ac252fe603c456b5c1ad0fed4d352bf45" args="(const DOMString &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::setTarget </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDOM_1_1DOMString.html">DOMString</a> & </td> <td class="paramname"><em>value</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>see target </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00283">283</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="aa8246badcfd4859c5eaa3dd8e271be66"></a><!-- doxytag: member="DOM::HTMLFormElement::submit" ref="aa8246badcfd4859c5eaa3dd8e271be66" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void HTMLFormElement::submit </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Submits the form. </p> <p>It performs the same action as a submit button. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00288">288</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <a class="anchor" id="aab859b140c7b72cff3310b7fa11bfa9e"></a><!-- doxytag: member="DOM::HTMLFormElement::target" ref="aab859b140c7b72cff3310b7fa11bfa9e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDOM_1_1DOMString.html">DOMString</a> HTMLFormElement::target </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Frame to render the resource in. </p> <p>See the <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">target attribute definition </a> in HTML 4.0. </p> <p>Definition at line <a class="el" href="html__form_8cpp_source.html#l00277">277</a> of file <a class="el" href="html__form_8cpp_source.html">html_form.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="html__form_8h_source.html">html_form.h</a></li> <li><a class="el" href="html__form_8cpp_source.html">html_form.cpp</a></li> </ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>khtml</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classDOM_1_1AbstractView.html">dom::abstractview</option>, <option value="classDOM_1_1Attr.html">dom::attr</option>, <option value="classDOM_1_1CDATASection.html">dom::cdatasection</option>, <option value="classDOM_1_1CharacterData.html">dom::characterdata</option>, <option value="classDOM_1_1Comment.html">dom::comment</option>, <option value="classDOM_1_1Counter.html">dom::counter</option>, <option value="classDOM_1_1CSS2Azimuth.html">dom::css2azimuth</option>, <option value="classDOM_1_1CSS2BackgroundPosition.html">dom::css2backgroundposition</option>, <option value="classDOM_1_1CSS2BorderSpacing.html">dom::css2borderspacing</option>, <option value="classDOM_1_1CSS2CounterIncrement.html">dom::css2counterincrement</option>, <option value="classDOM_1_1CSS2CounterReset.html">dom::css2counterreset</option>, <option value="classDOM_1_1CSS2Cursor.html">dom::css2cursor</option>, <option value="classDOM_1_1CSS2FontFaceSrc.html">dom::css2fontfacesrc</option>, <option value="classDOM_1_1CSS2FontFaceWidths.html">dom::css2fontfacewidths</option>, <option value="classDOM_1_1CSS2PageSize.html">dom::css2pagesize</option>, <option value="classDOM_1_1CSS2PlayDuring.html">dom::css2playduring</option>, <option value="classDOM_1_1CSS2Properties.html">dom::css2properties</option>, <option value="classDOM_1_1CSS2TextShadow.html">dom::css2textshadow</option>, <option value="classDOM_1_1CSSCharsetRule.html">dom::csscharsetrule</option>, <option value="classDOM_1_1CSSException.html">dom::cssexception</option>, <option value="classDOM_1_1CSSFontFaceRule.html">dom::cssfontfacerule</option>, <option value="classDOM_1_1CSSImportRule.html">dom::cssimportrule</option>, <option value="classDOM_1_1CSSMediaRule.html">dom::cssmediarule</option>, <option value="classDOM_1_1CSSPrimitiveValue.html">dom::cssprimitivevalue</option>, <option value="classDOM_1_1CSSRule.html">dom::cssrule</option>, <option value="classDOM_1_1CSSRuleList.html">dom::cssrulelist</option>, <option value="classDOM_1_1CSSStyleDeclaration.html">dom::cssstyledeclaration</option>, <option value="classDOM_1_1CSSStyleRule.html">dom::cssstylerule</option>, <option value="classDOM_1_1CSSStyleSheet.html">dom::cssstylesheet</option>, <option value="classDOM_1_1CSSUnknownRule.html">dom::cssunknownrule</option>, <option value="classDOM_1_1CSSValue.html">dom::cssvalue</option>, <option value="classDOM_1_1CSSValueList.html">dom::cssvaluelist</option>, <option value="classDOM_1_1CustomNodeFilter.html">dom::customnodefilter</option>, <option value="classDOM_1_1Document.html">dom::document</option>, <option value="classDOM_1_1DocumentFragment.html">dom::documentfragment</option>, <option value="classDOM_1_1DocumentType.html">dom::documenttype</option>, <option value="classDOM_1_1DOMException.html">dom::domexception</option>, <option value="classDOM_1_1DOMImplementation.html">dom::domimplementation</option>, <option value="classDOM_1_1DOMString.html">dom::domstring</option>, <option value="classDOM_1_1Element.html">dom::element</option>, <option value="classDOM_1_1Entity.html">dom::entity</option>, <option value="classDOM_1_1EntityReference.html">dom::entityreference</option>, <option value="classDOM_1_1Event.html">dom::event</option>, <option value="classDOM_1_1EventException.html">dom::eventexception</option>, <option value="classDOM_1_1EventListener.html">dom::eventlistener</option>, <option value="classDOM_1_1HTMLAnchorElement.html">dom::htmlanchorelement</option>, <option value="classDOM_1_1HTMLAppletElement.html">dom::htmlappletelement</option>, <option value="classDOM_1_1HTMLAreaElement.html">dom::htmlareaelement</option>, <option value="classDOM_1_1HTMLBaseElement.html">dom::htmlbaseelement</option>, <option value="classDOM_1_1HTMLBaseFontElement.html">dom::htmlbasefontelement</option>, <option value="classDOM_1_1HTMLBlockquoteElement.html">dom::htmlblockquoteelement</option>, <option value="classDOM_1_1HTMLBodyElement.html">dom::htmlbodyelement</option>, <option value="classDOM_1_1HTMLBRElement.html">dom::htmlbrelement</option>, <option value="classDOM_1_1HTMLButtonElement.html">dom::htmlbuttonelement</option>, <option value="classDOM_1_1HTMLCollection.html">dom::htmlcollection</option>, <option value="classDOM_1_1HTMLDirectoryElement.html">dom::htmldirectoryelement</option>, <option value="classDOM_1_1HTMLDivElement.html">dom::htmldivelement</option>, <option value="classDOM_1_1HTMLDListElement.html">dom::htmldlistelement</option>, <option value="classDOM_1_1HTMLDocument.html">dom::htmldocument</option>, <option value="classDOM_1_1HTMLElement.html">dom::htmlelement</option>, <option value="classDOM_1_1HTMLFieldSetElement.html">dom::htmlfieldsetelement</option>, <option value="classDOM_1_1HTMLFontElement.html">dom::htmlfontelement</option>, <option value="classDOM_1_1HTMLFormElement.html">dom::htmlformelement</option>, <option value="classDOM_1_1HTMLFrameElement.html">dom::htmlframeelement</option>, <option value="classDOM_1_1HTMLFrameSetElement.html">dom::htmlframesetelement</option>, <option value="classDOM_1_1HTMLHeadElement.html">dom::htmlheadelement</option>, <option value="classDOM_1_1HTMLHeadingElement.html">dom::htmlheadingelement</option>, <option value="classDOM_1_1HTMLHRElement.html">dom::htmlhrelement</option>, <option value="classDOM_1_1HTMLHtmlElement.html">dom::htmlhtmlelement</option>, <option value="classDOM_1_1HTMLIFrameElement.html">dom::htmliframeelement</option>, <option value="classDOM_1_1HTMLImageElement.html">dom::htmlimageelement</option>, <option value="classDOM_1_1HTMLInputElement.html">dom::htmlinputelement</option>, <option value="classDOM_1_1HTMLIsIndexElement.html">dom::htmlisindexelement</option>, <option value="classDOM_1_1HTMLLabelElement.html">dom::htmllabelelement</option>, <option value="classDOM_1_1HTMLLayerElement.html">dom::htmllayerelement</option>, <option value="classDOM_1_1HTMLLegendElement.html">dom::htmllegendelement</option>, <option value="classDOM_1_1HTMLLIElement.html">dom::htmllielement</option>, <option value="classDOM_1_1HTMLLinkElement.html">dom::htmllinkelement</option>, <option value="classDOM_1_1HTMLMapElement.html">dom::htmlmapelement</option>, <option value="classDOM_1_1HTMLMenuElement.html">dom::htmlmenuelement</option>, <option value="classDOM_1_1HTMLMetaElement.html">dom::htmlmetaelement</option>, <option value="classDOM_1_1HTMLModElement.html">dom::htmlmodelement</option>, <option value="classDOM_1_1HTMLObjectElement.html">dom::htmlobjectelement</option>, <option value="classDOM_1_1HTMLOListElement.html">dom::htmlolistelement</option>, <option value="classDOM_1_1HTMLOptGroupElement.html">dom::htmloptgroupelement</option>, <option value="classDOM_1_1HTMLOptionElement.html">dom::htmloptionelement</option>, <option value="classDOM_1_1HTMLParagraphElement.html">dom::htmlparagraphelement</option>, <option value="classDOM_1_1HTMLParamElement.html">dom::htmlparamelement</option>, <option value="classDOM_1_1HTMLPreElement.html">dom::htmlpreelement</option>, <option value="classDOM_1_1HTMLQuoteElement.html">dom::htmlquoteelement</option>, <option value="classDOM_1_1HTMLScriptElement.html">dom::htmlscriptelement</option>, <option value="classDOM_1_1HTMLSelectElement.html">dom::htmlselectelement</option>, <option value="classDOM_1_1HTMLStyleElement.html">dom::htmlstyleelement</option>, <option value="classDOM_1_1HTMLTableCaptionElement.html">dom::htmltablecaptionelement</option>, <option value="classDOM_1_1HTMLTableCellElement.html">dom::htmltablecellelement</option>, <option value="classDOM_1_1HTMLTableColElement.html">dom::htmltablecolelement</option>, <option value="classDOM_1_1HTMLTableElement.html">dom::htmltableelement</option>, <option value="classDOM_1_1HTMLTableRowElement.html">dom::htmltablerowelement</option>, <option value="classDOM_1_1HTMLTableSectionElement.html">dom::htmltablesectionelement</option>, <option value="classDOM_1_1HTMLTextAreaElement.html">dom::htmltextareaelement</option>, <option value="classDOM_1_1HTMLTitleElement.html">dom::htmltitleelement</option>, <option value="classDOM_1_1HTMLUListElement.html">dom::htmlulistelement</option>, <option value="classDOM_1_1MediaList.html">dom::medialist</option>, <option value="classDOM_1_1MouseEvent.html">dom::mouseevent</option>, <option value="classDOM_1_1MutationEvent.html">dom::mutationevent</option>, <option value="classDOM_1_1NamedNodeMap.html">dom::namednodemap</option>, <option value="classDOM_1_1Node.html">dom::node</option>, <option value="classDOM_1_1NodeFilter.html">dom::nodefilter</option>, <option value="classDOM_1_1NodeIterator.html">dom::nodeiterator</option>, <option value="classDOM_1_1NodeList.html">dom::nodelist</option>, <option value="classDOM_1_1Notation.html">dom::notation</option>, <option value="classDOM_1_1ProcessingInstruction.html">dom::processinginstruction</option>, <option value="classDOM_1_1Rect.html">dom::rect</option>, <option value="classDOM_1_1RGBColor.html">dom::rgbcolor</option>, <option value="classDOM_1_1StyleSheet.html">dom::stylesheet</option>, <option value="classDOM_1_1StyleSheetList.html">dom::stylesheetlist</option>, <option value="classDOM_1_1Text.html">dom::text</option>, <option value="classDOM_1_1TextEvent.html">dom::textevent</option>, <option value="classDOM_1_1TreeWalker.html">dom::treewalker</option>, <option value="classDOM_1_1UIEvent.html">dom::uievent</option>, <option value="classKHTMLPageCache.html">khtmlpagecache</option>, <option value="classKHTMLPart.html">khtmlpart</option>, <option value="classKHTMLPartBrowserExtension.html">khtmlpartbrowserextension</option>, <option value="classKHTMLPartIface.html">khtmlpartiface</option>, <option value="classKHTMLSettings.html">khtmlsettings</option>, <option value="classKHTMLView.html">khtmlview</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../arts/html/index.html">arts</a></li><li><a href="../../dcop/html/index.html">dcop</a></li><li><a href="../../dnssd/html/index.html">dnssd</a></li><li><a href="../../interfaces/html/index.html">interfaces</a></li><li> <a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li> <a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../kio/kio/html/index.html">kio</a></li><li> <a href="../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>