IHTMLDocument2 method |
Description |
Write |
Write |
Writeln |
Write and line Wrap |
Open |
Open a stream to collect the output of document.write or Document.writeln |
Close |
Closes and outputs a stream opened with the Document.open method |
Clear |
Clears all elements of the document and may not be supported temporarily |
querycommandsupported |
Whether to support the specified command |
queryCommandEnabled |
Specifies whether the command is valid |
Querycommandstate |
Whether the specified command is set |
Querycommandindeterm |
Specifies whether the command is in an indeterminate state |
Querycommandtext |
Command |
Querycommandvalue |
Command value |
ExecCommand |
Execute command |
execCommandShowHelp |
Command Help information |
CreateElement |
Building elements |
elementFromPoint |
Elements under the specified coordinates |
createStyleSheet |
Create a style sheet |
IHTMLDocument2 Property |
Description |
All |
A collection of all HTML elements |
Images |
A collection of all image objects |
Applets |
A collection of all applet objects |
Links |
A collection of all link objects |
Forms |
A collection of all form objects |
Anchors |
A collection of all anchor objects |
Scripts |
A collection of all script objects |
Frames |
A collection of all frame objects |
Embeds |
A collection of all embed objects |
Plugins |
All Plugin |
StyleSheets |
Style Sheet Collection |
Title |
Page title |
Body |
Body Object |
Activeelement |
element that currently has input focus |
DesignMode |
design mode, selectable value: Inherit on OFF |
Selection |
Current selection |
ReadyState |
Page read status: Uninitialized, loading, loaded, interactive, completed |
LinkColor |
The color of the link |
|
Color of the active link |
Vlinkcolor |
The color of the link that has been visited |
BgColor |
Background color |
Fgcolor |
Text color |
Referrer |
Returns the URL of the page loaded into the current page |
Location |
With Window.location |
LastModified |
Returns the date and time when the document was last modified |
Url |
Returns the URL of the current document |
Domain |
Return domain name |
Cookies |
Return document-related cookies |
expando |
A Boolean value that can be set and obtained, whether the extension is allowed |
CharSet |
Gets the character set name of the document |
Defaultcharset |
Get the default character set name for the browser |
MimeType |
Document type |
FileSize |
Document size, unit byte, expressed as a string |
Filecreateddate |
Document Settling Time |
Filemodifieddate |
Document modification Time |
Fileupdateddate |
Document Update Time |
Security |
Document Security |
Protocol |
Transport protocol |
ParentWindow |
Parent window |
IHTMLDOCUMENT3 Events |
Description |
OnHelp |
When you get help with F1 |
Onlick |
When clicked |
OnDblClick |
When you double-click |
OnMouseDown |
When the mouse point is down |
|
When the mouse lifts up |
OnMouseMove |
When the mouse moves |
onmouseover |
When the mouse enters |
onmouseout |
When the mouse leaves |
onkeypress |
When you press the key |
OnKeyUp |
When the key is lifted |
OnKeyDown |
When the state changes |
onReadyStateChange |
When the data for the current data source is going to change |
onrowexit |
When the data in the current data source changes and there is new data |
onrowenter |
When you start dragging |
Ondragstart |
When you start the selection |
Onselectstart |
Before update |
onbeforeupdate |
After the update |
onafterupdate |
When an error is updated |