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 |
.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. |
.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. |
.screenLeft |
Upper left corner of bounding rectangle in screen
coordinates, x component. |
.screenTop |
Upper left corner of bounding rectangle in screen
coordinates, y component. |
.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. |