KHTML
html_form.cpp
Go to the documentation of this file.
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:59
@ NO_MODIFICATION_ALLOWED_ERR
Definition: dom_exception.h:79
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
Definition: dom_element.cpp:147
void setAttribute(const DOMString &name, const DOMString &value)
Adds a new attribute.
Definition: dom_element.cpp:158
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:113
HTMLFormElement form() const
Returns the FORM element containing this control.
Definition: html_form.cpp:63
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:90
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:68
HTMLButtonElement & operator=(const HTMLButtonElement &other)
Definition: html_form.cpp:53
void assignOther(const Node &other, int elementId)
Definition: html_element.cpp:176
HTMLElement & operator=(const HTMLElement &other)
Definition: html_element.cpp:41
HTMLFieldSetElement & operator=(const HTMLFieldSetElement &other)
Definition: html_form.cpp:164
Definition: html_misc.h:210
The FORM element encompasses behavior similar to a collection and an element.
Definition: html_form.h:207
HTMLFormElement & operator=(const HTMLFormElement &other)
Definition: html_form.cpp:199
DOMString enctype() const
The content type of the submitted form, generally "application/x-www-form-urlencoded".
Definition: html_form.cpp:254
DOMString acceptCharset() const
List of character sets supported by the server.
Definition: html_form.cpp:232
HTMLCollection elements() const
Returns a collection of all control elements in the form.
Definition: html_form.cpp:209
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:595
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
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:588
bool indeterminate() const
Describes whether a radio box is indeterminate.
Definition: html_form.cpp:414
long maxLength() const
Maximum number of characters for text fields, when type has the value "Text" or "Password".
Definition: html_form.cpp:440
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
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
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:454
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 accept() const
A comma-separated list of content types that a server processing this form will handle correctly.
Definition: html_form.cpp:358
bool defaultChecked() const
When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute.
Definition: html_form.cpp:341
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:369
DOMString defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:327
DOMString alt() const
Alternate text for user agents not rendering the normal content of this element.
Definition: html_form.cpp:391
HTMLInputElement & operator=(const HTMLInputElement &other)
Definition: html_form.cpp:317
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
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:516
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition: html_form.cpp:380
HTMLIsIndexElement & operator=(const HTMLIsIndexElement &other)
Definition: html_form.cpp:1283
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:650
DOMString htmlFor() const
This attribute links this label with another form control by id attribute.
Definition: html_form.cpp:661
HTMLLabelElement & operator=(const HTMLLabelElement &other)
Definition: html_form.cpp:640
HTMLLegendElement & operator=(const HTMLLegendElement &other)
Definition: html_form.cpp:692
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:707
HTMLOptGroupElement & operator=(const HTMLOptGroupElement &other)
Definition: html_form.cpp:749
HTMLOptionElement & operator=(const HTMLOptionElement &other)
Definition: html_form.cpp:1176
bool defaultSelected() const
Stores the initial value of the selected attribute.
Definition: html_form.cpp:1191
The select element allows the selection of an option.
Definition: html_form.h:878
bool multiple() const
If true, multiple OPTION elements may be selected in this SELECT .
Definition: html_form.cpp:871
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
HTMLCollection options() const
The collection of OPTION elements contained by this element.
Definition: html_form.cpp:853
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:882
void remove(long index)
Remove an element from the collection of OPTION elements for this SELECT .
Definition: html_form.cpp:933
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:908
HTMLSelectElement & operator=(const HTMLSelectElement &other)
Definition: html_form.cpp:802
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:1070
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
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:1124
DOMString value() const
The current textual content of the multi-line text field.
Definition: html_form.cpp:1088
HTMLTextAreaElement & operator=(const HTMLTextAreaElement &other)
Definition: html_form.cpp:970
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:996
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 defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:980
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
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:1117
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:1033
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
const KShortcut & end()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.