Property | Usage |
.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. |
.className |
This the value of the class attribute of an 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. |
.hasScript |
This value is returned as a boolean.
If true then script as been associated with actions on this element. |
.id |
This is the value of the id attribute of an element. |
.length |
The value of the length attribute of an element. For a
Select element this indicates the number of items in the list. |
.multiple |
The value of the multiple attribute of an element. For
a Select element (Listbox or combo dropdown) this indicates that the list
supports multiple selection, returned as a boolean. |
.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. |
.selectedIndex |
The value of the selectedIndex attribute of an
element. For a single selection Select element, this indicates which
option element is selected. Integer in the range of >=0. |
.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. |
.tag |
This is the Html tag for the element |
.target |
The value of the target attribute of an
element. For anchors this indicates the name of the target frame,
that is, the frame where the document should be opened. |
.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. |
.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. |