html_form.cpp
1194 if(impl) static_cast<ElementImpl*>(impl)->setAttribute(ATTR_SELECTED, _defaultSelected ? "" : 0);
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:611
HTMLCollection options() const
The collection of OPTION elements contained by this element.
Definition: html_form.cpp:850
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:605
long maxLength() const
Maximum number of characters for text fields, when type has the value "Text" or "Password".
Definition: html_form.cpp:441
DOMString acceptCharset() const
List of character sets supported by the server.
Definition: html_form.cpp:233
DOMString alt() const
Alternate text for user agents not rendering the normal content of this element.
Definition: html_form.cpp:392
Element form() const
TDEHTML extension to DOM This method returns the associated form element.
Definition: dom_element.cpp:338
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:917
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:56
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
Definition: dom_element.cpp:147
bool defaultSelected() const
Stores the initial value of the selected attribute.
Definition: html_form.cpp:1186
bool defaultChecked() const
When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute.
Definition: html_form.cpp:342
DOMString enctype() const
The content type of the submitted form, generally "application/x-www-form-urlencoded".
Definition: html_form.cpp:255
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:879
The FORM element encompasses behavior similar to a collection and an element.
Definition: html_form.h:206
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition: html_form.cpp:381
DOMString value() const
The current textual content of the multi-line text field.
Definition: html_form.cpp:1083
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:57
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:513
DOMString htmlFor() const
This attribute links this label with another form control by id attribute.
Definition: html_form.cpp:658
void setSelectionRange(long start, long end)
Selects the text from start to end, and positions the cursor after the selection.
Definition: html_form.cpp:1145
DOMString defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:975
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:991
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:1133
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:905
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:1028
HTMLFormElement form() const
Returns the FORM element containing this control.
Definition: html_form.cpp:64
void remove(long index)
Remove an element from the collection of OPTION elements for this SELECT .
Definition: html_form.cpp:928
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:1119
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:647
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:704
DOMString src() const
When the type attribute has the value "Image", this attribute specifies the location of the image to ...
Definition: html_form.cpp:501
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:69
DOMString defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:328
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:91
The select element allows the selection of an option.
Definition: html_form.h:878
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:599
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:585
bool indeterminate() const
Describes whether a radio box is indeterminate.
Definition: html_form.cpp:415
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:114
HTMLCollection elements() const
Returns a collection of all control elements in the form.
Definition: html_form.cpp:210
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:274
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:1112
void setAttribute(const DOMString &name, const DOMString &value)
Adds a new attribute.
Definition: dom_element.cpp:162
bool checked() const
Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox".
Definition: html_form.cpp:403
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:455
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:1139
bool multiple() const
If true, multiple OPTION elements may be selected in this SELECT .
Definition: html_form.cpp:868
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:592
DOMString accept() const
A comma-separated list of content types that a server processing this form will handle correctly.
Definition: html_form.cpp:359
void setSize(const DOMString &) TDE_DEPRECATED
Definition: html_form.cpp:485
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:370
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:1065