Click to return to the Reusing Browser Technology home page    
IHTMLDocument2::writeln M...     IHTMLDocument3::attachEve...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLDocument3 Interface


This interface provides access to additional properties and methods of the document objects.

IHTMLDocument3 Methods

attachEvent Binds the specified function to an event, so that the function gets called whenever the event fires on the object.
createDocumentFragment Creates a new document and returns a pointer to the newly created document.
createTextNode Creates a new text node and returns the IHTMLDOMNode pointer.
detachEvent Unbinds the specified object from the event, so that the object stops being called whenever the event fires.
get_childNodes Retrieves the children of the document object.
get_dir Retrieves the reading order of the element.
get_documentElement Retrieves the document's root element.
get_onbeforeeditfocus Retrieves a pointer to the event handler function associated with the onbeforeeditfocus event of the document.
get_oncellchange Retrieves a pointer to the event handler function associated with the oncellchange event of the element.
get_oncontextmenu Retrieves a pointer to the event handler function associated with the element's oncontextmenu event.
get_ondataavailable Retrieves a pointer to the event handler function associated with the ondataavailable event of the document.
get_ondatasetchanged Retrieves a pointer to the event handler function associated with the ondatasetchanged event of the document.
get_ondatasetcomplete Retrieves a pointer to the event handler function associated with the ondatasetcomplete event of the document.
get_onpropertychange Retrieves a pointer to the event handler function associated with the onpropertychange event of the document.
get_onrowsdelete Retrieves a pointer to the event handler function associated with the onrowsdelete event of the document.
get_onrowsinserted Retrieves a pointer to the event handler function associated with the document's onrowsinserted event.
get_OnStop Retrieves a pointer to the event handler function associated with the OnStop event on the document.
get_parentDocument Retrieves an interface pointer that provides access to the parent object's document interface.
get_uniqueID Retrieves the current value of the uniqueID property of the element.
getElementById Retrieves the first occurrence of an element with the specified ID.
getElementsByName Retrieves a collection of all elements with the specified name.
getElementsByTagName Retrieves a collection of all elements with a specific tag name existing in the document.
put_dir Sets the reading order of the element.
put_onbeforeeditfocus Sets a pointer to the event handler function associated with the onbeforeeditfocus event of the document.
put_oncellchange Sets a pointer to the event handler function associated with the oncellchange event of the element.
put_oncontextmenu Sets a pointer to the event handler function associated with the element's oncontextmenu event.
put_ondataavailable Sets a pointer to the event handler function associated with the ondataavailable event of the document.
put_ondatasetchanged Sets a pointer to the event handler function associated with the ondatasetchanged event of the document.
put_ondatasetcomplete Sets a pointer to the event handler function associated with the ondatasetcomplete event of the document.
put_onpropertychange Sets a pointer to the event handler function associated with the onpropertychange event of the document.
put_onrowsdelete Sets a pointer to the event handler function associated with the onrowsdelete event of the document.
put_onrowsinserted Sets a pointer to the event handler function associated with the document's onrowsinserted event.
put_OnStop Sets a pointer to the event handler function associated with the OnStop event on the document.
recalc Recalculates all dynamic properties in the current document.
releaseCapture Removes the mouse capture from an object belonging to the current document.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.