KHTML
html_form.cpp
Go to the documentation of this file.
DOMString defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:980
DOMString src() const
When the type attribute has the value "Image", this attribute specifies the location of the image to ...
Definition: html_form.cpp:504
void remove(long index)
Remove an element from the collection of OPTION elements for this SELECT .
Definition: html_form.cpp:933
void setSelectionRange(long start, long end)
Selects the text from start to end, and positions the cursor after the selection. ...
Definition: html_form.cpp:1150
DOMString acceptCharset() const
List of character sets supported by the server.
Definition: html_form.cpp:232
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
void setSelectionEnd(long offset)
Move the end of the selection (and the cursor) to the given offset in text This call has no effect if...
Definition: html_form.cpp:608
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition: html_form.cpp:380
bool multiple() const
If true, multiple OPTION elements may be selected in this SELECT .
Definition: html_form.cpp:871
The select element allows the selection of an option.
Definition: html_form.h:877
This element is used for single-line text input.
Definition: html_form.h:1382
DOMString alt() const
Alternate text for user agents not rendering the normal content of this element.
Definition: html_form.cpp:391
DOMString enctype() const
The content type of the submitted form, generally "application/x-www-form-urlencoded".
Definition: html_form.cpp:254
The FORM element encompasses behavior similar to a collection and an element.
Definition: html_form.h:206
HTMLCollection options() const
The collection of OPTION elements contained by this element.
Definition: html_form.cpp:853
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:595
bool checked() const
Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox"...
Definition: html_form.cpp:402
Element form() const
KHTML extension to DOM This method returns the associated form element.
Definition: dom_element.cpp:310
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:1070
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:908
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:113
HTMLOptionElement & operator=(const HTMLOptionElement &other)
Definition: html_form.cpp:1176
void setAttribute(const DOMString &name, const DOMString &value)
Adds a new attribute.
Definition: dom_element.cpp:158
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:996
HTMLLabelElement & operator=(const HTMLLabelElement &other)
Definition: html_form.cpp:640
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:707
HTMLLegendElement & operator=(const HTMLLegendElement &other)
Definition: html_form.cpp:692
HTMLFormElement & operator=(const HTMLFormElement &other)
Definition: html_form.cpp:199
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:90
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:454
HTMLInputElement & operator=(const HTMLInputElement &other)
Definition: html_form.cpp:317
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:369
void setSelectionEnd(long offset)
Move the end of the selection (and the cursor) to the given offset in text NOTE: this method is not p...
Definition: html_form.cpp:1144
HTMLOptGroupElement & operator=(const HTMLOptGroupElement &other)
Definition: html_form.cpp:749
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:1124
HTMLFieldSetElement & operator=(const HTMLFieldSetElement &other)
Definition: html_form.cpp:164
bool defaultChecked() const
When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute...
Definition: html_form.cpp:341
void setSelectionStart(long offset)
Move the beginning of the selection to the given offset in text NOTE: this method is not part of the ...
Definition: html_form.cpp:1138
HTMLIsIndexElement & operator=(const HTMLIsIndexElement &other)
Definition: html_form.cpp:1283
DOMString htmlFor() const
This attribute links this label with another form control by id attribute.
Definition: html_form.cpp:661
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:516
void setSelectionStart(long offset)
Move the beginning of the selection to the given offset in text This call has no effect if the type o...
Definition: html_form.cpp:602
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:1033
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:588
HTMLSelectElement & operator=(const HTMLSelectElement &other)
Definition: html_form.cpp:802
HTMLElement & operator=(const HTMLElement &other)
Definition: html_element.cpp:41
DOMString value() const
The current textual content of the multi-line text field.
Definition: html_form.cpp:1088
HTMLButtonElement & operator=(const HTMLButtonElement &other)
Definition: html_form.cpp:53
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
Definition: dom_element.cpp:147
void setSelectionRange(long start, long end)
Makes the position span from start to end, and positions the cursor after the selection.
Definition: html_form.cpp:614
long maxLength() const
Maximum number of characters for text fields, when type has the value "Text" or "Password".
Definition: html_form.cpp:440
HTMLCollection elements() const
Returns a collection of all control elements in the form.
Definition: html_form.cpp:209
HTMLFormElement form() const
Returns the FORM element containing this control.
Definition: html_form.cpp:63
DOMString accept() const
A comma-separated list of content types that a server processing this form will handle correctly...
Definition: html_form.cpp:358
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:650
void assignOther(const Node &other, int elementId)
Definition: html_element.cpp:176
bool defaultSelected() const
Stores the initial value of the selected attribute.
Definition: html_form.cpp:1191
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:1117
bool indeterminate() const
Describes whether a radio box is indeterminate.
Definition: html_form.cpp:414
DOMString defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:327
Definition: html_misc.h:209
HTMLTextAreaElement & operator=(const HTMLTextAreaElement &other)
Definition: html_form.cpp:970
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:882
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:68
void add(const HTMLElement &element, const HTMLElement &before)
Add a new element to the collection of OPTION elements for this SELECT .
Definition: html_form.cpp:920
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Mar 2 2017 19:09:22 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Mar 2 2017 19:09:22 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.