Property | Usage |
.align | This is the value of the align attribute of the
element. Valid values are bottom, middle, and top. |
.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. |
.border |
This is the value of the border attribute of the
element. Returns the number of pixels. |
.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. |
.height |
The value of the height attribute of an element. For
an Image element this is the display height in pixels for the image. |
.hspace |
The value of the hspace attribute of an element, the
amount of whitespace inserted to the left or right of an IMG, OBJECT, or
APPLET. |
.id |
This is the value of the id attribute of an element. |
.isMap |
The value of the isMap attribute of an element returned as a
boolean. For Image elements (IMG) if this is TRUE then this
indicates a server side image map. |
.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. |
.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. |
.useMap |
The value of the usemap attribute of an element. The
value is a string specifying a URL and is used for Image elements (IMG) to
indicate a client side image map. The URL points to the map
associated MAP. Frequently, this is a document relative reference. |
.vspace |
The value of the vspace attribute of an element, the
amount of whitespace inserted to the above or below of an IMG, OBJECT, or
APPLET. |
.width |
The value of the width attribute of an element. For an
Image element this is the display width in pixels for the image. |