
Returns a reference to the form the element is embedded on.
object.form
Returns null if the element is not on a form.
This property has read-only permission, meaning you can retrieve its current value, but not change it.
APPLET, BUTTON, EMBED, FORM, INPUT, OBJECT, OPTION, SELECT, TEXTAREA
Controls the appearance of the border frame around the table.
object.frame[ = frame]
Possible values include;
above Displays a border on the top side of the border frame. below Displays a border on the bottom side of the table frame. border Displays a border on all sides of the table frame. box Displays a border on all sides of the table frame. hsides Displays a border on the top and bottom sides of the table frame. lhs Displays a border on the left side of the table frame. rhs Displays a border on the right side of the table frame. void Removes all outside table borders. vsides Displays a border on the left and right sides of the table frame.
The default value for this property is void, that is, display no borders.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies whether or not to display a border for the frame.
object.frameBorder[ = frameBorder]
Valid values are 0 and 1, with 0 specifying no border and 1 specifying an inset border. In addition, "Yes" and "No" are supported corresponding to 1 and 0, respectively. Invalid settings default to turning on borders.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Creates additional space between the frames, in pixels.
object.frameSpacing[ = frameSpacing]
The amount defined for frameSpacing does not include the width of the frame border. Frame spacing can be set on one or more FRAMESET elements and applies to the contained FRAMESET elements unless the contained FRAMESET defines a different frame spacing.
The default spacing is 2 pixels.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the element being moved from the onmouseover and onmouseout events.
object.fromElement
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Sets or returns the subsection of the href property that follows the # symbol.
object.hash[ = hash]
If there is no hash, this property returns an empty string.
This property is useful for moving to a bookmark within a document. Assigning an invalid value does not cause an error.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the vertical resolution of the screen, in pixels.
object.height
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Sets or retrieves the CSS height attribute of the element.
object.height[ = height]
The value of this read-write property is a string consisting of a floating-point number and a units designator, as described for cascading style sheets.
To carry out operations on the numeric value of this property, use pixelHeight or posHeight.
For more information on how to access the dimension and location of elements on the page through the document object model, see Measuring Element Dimension and Location.
Specifies the size at which the element is drawn.
object.height
This property specifies the calculated height of the element, in pixels. For table rows and table cells, this property has a range of 0 to 32750 pixels.
If the value of the corresponding HTML attribute was set using a percentage, this property specifies the height in pixels represented by that percentage.
This property is read-write for the IMG element, but read-only for other elements.
Forces the embedded element to be invisible.
object.Hidden[ = Hidden]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets or retrieves the hostname:port part of the location or URL.
object.host[ = host]
This read-write property is the concatenation of the hostname and port properties, separated by a colon. When the port property is null, the host property is the same as the hostname property.
You can set the host property at any time, although it is safer to set the href property to change a location. If the host that you specify cannot be found, you will get an error.
Specifies the host name part of the location or URL.
object.hostname[ = hostname]
If no host name is available, this property returns an empty string.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns a string specifying the URL of the linked style sheet, if the style sheet is a LINK. If the style sheet is a STYLE, the property returns NULL.
object.href[ = href]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the destination URL or anchor point.
object.href[ = href]
The HREF attribute on the anchor is a scriptable attribute. HREFs on anchors can jump to bookmarks or any element's identification attribute.
When specifying an anchor, everything between the <A HREF..> and the A becomes a clickable link to that address.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the baseline URL that relative links will be based on.
object.href[ = href]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the entire URL as a string.
object.HREF[ = href]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
navigate method
Specifies the horizontal margin for the element.
object.hspace[ = hspace]
This property is similar to border, except the margins are not painted with color when the element is a link.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies which element is being bound to the event script. This property corresponds to the HTML FOR= attribute.
This property has read-only permission, meaning you can retrieve its current value, but not change it.
object.htmlFor
Specifies which control-like element to assign the given label element to. This property corresponds to the HTML FOR= attribute.
object.htmlFor[ = htmlFor]
This property references the identifier of another element.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the HTML source as a valid HTML fragment.
object.htmlText
This property corresponds to the fragment portion of the CF_HTML clipboard format.
This property has read-only permission, meaning you can retrieve its current value, but not change it.
This feature may not be available on non-Win32® platforms. See article Q172976 in the Microsoft Knowledge Base for the latest information on Internet Explorer cross-platform compatibility.
Binds the content of the element to an HTTP response header.
object.http-Equiv[ = http-Equiv]
If omitted, the name property should be used to identify the meta-information. The httpEquiv property is not case sensitive.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies an SGML identifier used for naming elements. Valid names to script with are any alphanumeric string that begins with a letter. Valid special characters include the underbar, "_".
object.id
The id should be unique throughout the scope of the current document. Should there be more than one object with the same identifier, a collection of those named items is created that can only be referenced by ordinal position.
This property has read-only permission, meaning you can retrieve its current value, but not change it.
A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IFRAME, IMG, INPUT, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP, styleSheet
Changes the user interface of a check box to have a dimmed background to represent an indeterminate state. When indeterminate is set, the check box will appear checked, but dimmed. The value of indeterminate is independent of the values for the checked and the status properties.
object.indeterminate[ = indeterminate]
This read-write property is TRUE if the check box is dimmed, or FALSE otherwise. The default value for this property is FALSE.
This property does not remove whether the element is checked and is different than disabling the control. A check box in the indeterminate state can still receive the focus. When the user clicks an indeterminate button, the indeterminate state is turned off and the check box is appropriately checked or unchecked.
Returns the ordinal position of the option in the list box.
object.index
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Sets or retrieves the HTML between the start and end tags of the current element.
object.innerHTML[ = innerHTML]
This read-write property takes a string containing a valid combination of text and HTML tags, except for <html>, <head>, and <title> tags.
When setting this property, the given string completely replaces the existing content of the element. If the string contains HTML tags, the string is parsed and formatted as it is placed into the document.
Note You cannot set this property while the document is loading. Wait for the onload event before attempting to set it. If a tag is dynamically created using TextRange, innerHTML, or outerHTML, you can only use JScript to create new events to handle the newly formed tags. VBScript is not supported.
A, ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, H1, H2, H3, H4, H5, H6, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OL, P, PRE, Q, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TH, TT, U, UL, VAR
insertAdjacentHTML method
Sets or retrieves the text between the start and end tags of the current element.
object.innerText[ = innerText]
This read-write property can be any valid string. When setting this property, the given string completely replaces the existing content of the element, except for <html>, <head>, and <title> tags.
Note You cannot set this property while the document is loading. Wait for the onload event before attempting to set it. If a tag is dynamically created using TextRange, innerHTML, or outerHTML, you can only use JScript to create new events to handle the newly formed tags. VBScript is not supported.
A, ACRONYM, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, H1, H2, H3, H4, H5, H6, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OL, P, PLAINTEXT, PRE, Q, S, SAMP, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TD, TEXTAREA, TH, TITLE, TT, U, UL, VAR, XMP
insertAdjacentText method
Identifies the picture as a server-side image map.
object.isMap[ = isMap]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies whether a text range object can be created using the given element.
object.isTextEdit
The value of this read-only property is TRUE if a text range can be created, or FALSE otherwise.
Only the BODY, BUTTON, and TEXTAREA elements and an INPUT element having text type can be used to create a text range object.
A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IFRAME, IMG, INPUT, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, META, NEXTID, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.