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
- Properties
Methods
The IHTMLDocument3 interface has these methods.
Method | Description |
---|---|
attachEvent |
Note IHTMLDocument3::attachEvent is no longer supported. Starting with IE11, use IEventTarget::addEventListener. For info, see Compatibility changes.
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.
Property | Description |
---|---|
Retrieves a collection of attributes of the object. |
|
Gets the child nodes of the document object. |
|
Sets or retrieves a value that indicates the reading order of the object. |
|
Gets a reference to the root node of the document. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onbeforeeditfocus event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::oncellchange event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::oncontextmenu event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onpropertychange event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onrowsdelete event. |
|
Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onrowsinserted event. |
|
Retrieves an autogenerated, unique identifier for the object. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |