Export (0) Print
Expand All
2 out of 8 rated this helpful - Rate this topic

IHTMLDocument3 interface

Provides access to additional properties and methods of the document objects.

Members

The IHTMLDocument3 interface inherits from the IDispatch interface. IHTMLDocument3 also has these types of members:

Methods

The IHTMLDocument3 interface has these methods.

MethodDescription
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 text string from the specified value.

detachEvent

Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires.

getElementById

Returns a reference to the first object with the specified value of the IHTMLElement::id or IHTMLDOMAttribute2::name attribute.

getElementsByName

Gets a collection of objects based on the value of the IHTMLDOMAttribute2::name or IHTMLElement::id attribute.

getElementsByTagName

Retrieves a collection of objects based on the specified element name.

recalc

This element is obsolete and should no longer be used. Recalculates all dynamic properties in the current document.

releaseCapture

Removes mouse capture from the object in the current document.

 

Properties

The IHTMLDocument3 interface has these properties.

PropertyDescription

baseUrl

dir

Sets or retrieves a value that indicates the reading order of the object.

documentElement

Gets a reference to the root node of the document.

enableDownload

inheritStyleSheets

onbeforeeditfocus

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onbeforeeditfocus event.

oncellchange

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::oncellchange event.

oncontextmenu

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::oncontextmenu event.

onpropertychange

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onpropertychange event.

onrowsdelete

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onrowsdelete event.

onrowsinserted

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onrowsinserted event.

uniqueID

Retrieves an autogenerated, unique identifier for the object.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.