Property | Usage |
.alt |
The value of the alt attribute an element. This is the
"alternate" text for the element, frequently displayed by
the browser when the mouse hovers over the element. |
.bounds | A rectangle representing the bounding rectangle of the
object in screen coordinates. |
.class | This is the test object class name, for example "HtmlTable"
for a <Table> element. |
.checked |
This is a boolean value indicating whether a checkboxed is
currently checked (true) or not (false). |
.className | This the value of the class attribute of an element (used
for stylesheets in HTML). |
.defaultChecked |
This is a boolean value for the defaultchecked
attribute of the element. |
.defaultValue |
This is the value of the defaultValue attribute of
the element. |
.disabled |
The value of the disabled attribute of an element, returned
as a boolean. If true then user input is currently disabled for this
item. |
.id | This is the value of the id attribute of an element. |
.maxLength |
For an edit control (Input type=Text or TextArea) this
indicates the maximum number of characters a user may enter. |
.name | This is the value of the name attribute (Form elements and Frames only) |
.offsetHeight | The height of the element. |
.offsetLeft | The offset of the element from its offset parent in the DOM. |
.offsetTop | The offset of the element from its offset parent in the DOM. |
.offsetWidth | The width of the element. |
.readOnly |
The value of the readonly attribute of an
element. A boolean value that when true indicates the form
element is read only. |
.screenLeft | Upper left corner of bounding rectangle in screen coordinates, x component. |
.screenTop | Upper left corner of bounding rectangle in screen coordinates, y component. |
.size |
The value of the size attribute of an element. For a
Select element this indicates the number of items displayed at once in the
list. If size > 1 then the list appears as listbox, otherwise the
list appears as a Combodropdown. |
.src |
This is the value of the src attribute for the
element. For images and image buttons this is a URL specifying the desired
image file. |
.tag | This is the Html tag for the element |
.text | This is the text inside of the HTML tags for bounding the
element. For example, <A>This is an Anchor<IMG src=map.gif></a>
the text property will return "This is an
Anchor. All white space are combined and reduced to a single a
blank character if consecutive white space characters are found. |
.title | This is the value of the title attribute of an element.
This is frequently the text displayed when hovering over the element with
the mouse. |
.type |
This is the value of the Type attribute of an
element. For example, for an Input element this will be text,
password, checkbox, radio, submit, image, reset, button, hidden,orfile. |
.value | This is the value of the value attribute of an
element. In Form elements this represents the value which will be
sent when the form is posted. |