• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part III: Cross References > Document Object Methods Index

Chapter 14. Document Object Methods Index

Entries in the following index are arranged alphabetically by scriptable object methods. You can look up a method to find out which document objects support it. This listing is a union of methods defined for objects in Navigator 4, Internet Explorer 4, and a working draft of the DOM. The same method name may mean different things for different objects. Be sure to look up the details of the method listing in Chapter 9, to find if the method is available for the browser(s) used by your intended audience and whether it does what you want. Objects shown in all uppercase letters are objects that reflect HTML elements of the same name. The following objects reflect specific types of INPUT elements: button, checkbox, fileUpload, password, radio, reset, submit, and text.


add()

options


addImport()

styleSheet


addReadRequest()

userProfile


addRule()

styleSheet


alert()

window


assign()

location


back()

history, window


blur()

A, APPLET, AREA, BUTTON, button, CAPTION, checkbox, DIV, EMBED, FIELDSET, fileUpload, IMG, LEGEND, MARQUEE, OBJECT, password, radio, reset, SELECT, SPAN, submit, TABLE, TD, text, TEXTAREA, TH, TR, window


captureEvents()

document, layer, window


clear()

document, selection


clearInterval()

window


clearRequest()

userProfile


clearTimeout()

window


click()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, H1, H2, H3, H4, H5, H6, HR, I, IMG, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXT-AREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP


close()

document, window


collapse()

TextRange


compareEndPoints()

TextRange


confirm()

window


contains()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, hidden, HR, HTML, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, META, OBJECT, OL, OPTION, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP


createElement()

document


createRange()

selection


createStyleSheet()

document


createTextRange()

BODY, BUTTON, text, TEXTAREA


disableExternalCapture()

window


doReadRequest()

userProfile


duplicate()

TextRange


elementFromPoint()

document


empty()

selection


enableExternalCapture()

window


execCommand()

document, TextRange


execScript()

window


expand()

TextRange


find()

window


findText()

TextRange


focus()

A, APPLET, AREA, BUTTON, button, CAPTION, checkbox, DIV, EMBED, FIELDSET, fileUpload, IMG, LEGEND, MARQUEE, OBJECT, password, radio, reset, SELECT, SPAN, submit, TABLE, TD, text, TEXTAREA, TH, TR, window


forward()

history, window


getAttribute()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, hidden, HR, HTML, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, META, OBJECT, OL, OPTION, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, style, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, userProfile, VAR, XMP


getBookmark()

TextRange


getSelection()

document


go()

history


handleEvent()

button, checkbox, document, fileUpload, FORM, layer, password, radio, reset, submit, text, TEXTAREA, window


home()

window


inRange()

TextRange


insertAdjacentHTML()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, H1, H2, H3, H4, H5, H6, HR, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP


insertAdjacentText()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, H1, H2, H3, H4, H5, H6, HR, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OL, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP


isEqual()

TextRange


item()

all, filters, forms, frames, images, options, plugins, rows, scripts


javaEnabled()

navigator


load()

layer


move()

TextRange


moveAbove()

layer


moveBelow()

layer


moveBy()

layer


moveEnd()

TextRange


moveStart()

TextRange


moveTo()

layer, window


moveToAbsolute()

layer


moveToBookmark()

TextRange


moveToElementText()

TextRange


moveToPoint()

TextRange


navigate()

window


nextPage()

TABLE


open()

document, window


parentElement()

TextRange


pasteHTML()

TextRange


preference()

navigator


previousPage()

TABLE


print()

window


prompt()

window


queryCommandEnabled()

document, TextRange


queryCommandIndeterm()

TextRange


queryCommandState()

document, TextRange


queryCommandSupported()

document, TextRange


queryCommandText()

document, TextRange


queryCommandValue()

document, TextRange


refresh()

plugin, TABLE


releaseEvents()

document, layer, window


reload()

location


remove()

options


removeAttribute()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, hidden, HR, HTML, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, META, OBJECT, OL, OPTION, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, style, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXT-AREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP


replace()

location


reset()

FORM


resizeBy()

layer, window


resizeTo()

layer, window


routeEvent()

document, layer, window


scroll()

window


scrollBy()

window


scrollIntoView()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, H1, H2, H3, H4, H5, H6, HR, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, OPTION, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXTAREA, TextRange, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP


scrollTo()

window


select()

fileUpload, password, text, TEXTAREA, TextRange


setAttribute()

A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, button, CAPTION, CENTER, checkbox, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, fileUpload, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, hidden, HR, HTML, I, IFRAME, IMG, INS, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, META, OBJECT, OL, OPTION, P, password, PLAINTEXT, PRE, Q, radio, reset, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, style, STYLE, SUB, submit, SUP, TABLE, TBODY, TD, text, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP


setEndPoint()

TextRange


setInterval()

window


setTimeout()

window


showHelp()

window


showModalDialog()

window


start()

MARQUEE


stop()

MARQUEE


submit()

FORM


tags()

all, rows


taintEnabled()

navigator


write()

document


writeln()

document


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint