IE8 新增的Javascript 开发接口说明_Javascript教程-查字典教程网
IE8 新增的Javascript 开发接口说明
IE8 新增的Javascript 开发接口说明
发布时间:2016-12-30 来源:查字典编辑
摘要:IE8新增的Javascript对象(Object)AttrConstructorDefinesthepropertiesandmethod...

IE8 新增的Javascript 对象 (Object)

Attr Constructor

Defines the properties and methods inherited by objects in the Attr Constructor prototype chain.

BehaviorUrnsCollection Constructor

Defines the properties and methods inherited by objects in the BehaviorUrnsCollection Constructor prototype chain.

BookmarkCollection Constructor

Defines the properties and methods inherited by objects in the BookmarkCollection Constructor prototype chain.

CompatibleInfo Constructor

Defines the properties and methods inherited by objects in the CompatibleInfo Constructor prototype chain.

CompatibleInfoCollection Constructor

Defines the properties and methods inherited by objects in the CompatibleInfoCollection Constructor prototype chain.

ControlRangeCollection Constructor

Defines the properties and methods inherited by objects in the ControlRangeCollection Constructor prototype chain.

CSSCurrentStyleDeclaration Constructor

Defines the properties and methods inherited by objects in the CSSCurrentStyleDeclaration Constructor prototype chain.

CSSRuleList Constructor

Defines the properties and methods inherited by objects in the CSSRuleList Constructor prototype chain.

CSSRuleStyleDeclaration Constructor

Defines the properties and methods inherited by objects in the CSSRuleStyleDeclaration Constructor prototype chain.

CSSStyleDeclaration Constructor

Defines the properties and methods inherited by objects in the CSSStyleDeclaration Constructor prototype chain.

CSSStyleRule Constructor

Defines the properties and methods inherited by objects in the CSSStyleRule Constructor prototype chain.

CSSStyleSheet Constructor

Defines the properties and methods inherited by objects in the CSSStyleSheet Constructor prototype chain.

DataTransfer Constructor

Defines the properties and methods inherited by objects in the DataTransfer Constructor prototype chain.

DOMImplementation Constructor

Defines the properties and methods inherited by objects in the DOMImplementation Constructor prototype chain.

Element Constructor

Defines the properties and methods inherited by objects in the Element Constructor prototype chain.

Event Constructor

Defines the properties and methods inherited by objects in the Event Constructor prototype chain.

History Constructor

Defines the properties and methods inherited by objects in the History Constructor prototype chain.

HTCBehavior Constructor

Defines the properties and methods inherited by objects in the HTCBehavior Constructor prototype chain.

HTCElementBehaviorDefaults Constructor

Defines the properties and methods inherited by objects in the HTCElementBehaviorDefaults Constructor prototype chain.

HTMLAnchorElement Constructor

Defines the properties and methods inherited by objects in the HTMLAnchorElement Constructor prototype chain.

HTMLAreaElement Constructor

Defines the properties and methods inherited by objects in the HTMLAreaElement Constructor prototype chain.

HTMLAreasCollection Constructor

Defines the properties and methods inherited by objects in the HTMLAreasCollection Constructor prototype chain.

HTMLBaseElement Constructor

Defines the properties and methods inherited by objects in the HTMLBaseElement Constructor prototype chain.

HTMLBaseFontElement Constructor

Defines the properties and methods inherited by objects in the HTMLBaseFontElement Constructor prototype chain.

HTMLBGSoundElement Constructor

Defines the properties and methods inherited by objects in the HTMLBGSoundElement Constructor prototype chain.

HTMLBlockElement Constructor

Defines the properties and methods inherited by objects in the HTMLBlockElement Constructor prototype chain.

HTMLBodyElement Constructor

Defines the properties and methods inherited by objects in the HTMLBodyElement Constructor prototype chain.

HTMLBRElement Constructor

Defines the properties and methods inherited by objects in the HTMLBRElement Constructor prototype chain.

HTMLButtonElement Constructor

Defines the properties and methods inherited by objects in the HTMLButtonElement Constructor prototype chain.

HTMLCollection Constructor

Defines the properties and methods inherited by objects in the HTMLCollection Constructor prototype chain.

HTMLCommentElement Constructor

Defines the properties and methods inherited by objects in the HTMLCommentElement Constructor prototype chain.

HTMLDDElement Constructor

Defines the properties and methods inherited by objects in the HTMLDDElement Constructor prototype chain.

HTMLDivElement Constructor

Defines the properties and methods inherited by objects in the HTMLDivElement Constructor prototype chain.

HTMLDListElement Constructor

Defines the properties and methods inherited by objects in the HTMLDListElement Constructor prototype chain.

HTMLDocument Constructor

Defines the properties and methods inherited by objects in the HTMLDocument Constructor prototype chain.

DocumentCompatibleInfo

Provides information about the compatibity mode specified by the Web page. If the Web page specifies multiple compatibility modes, they can be retrieved using documentCompatibleInfoCollection.

HTMLDTElement Constructor

Defines the properties and methods inherited by objects in the HTMLDTElement Constructor prototype chain.

HTMLEmbedElement Constructor

Defines the properties and methods inherited by objects in the HTMLEmbedElement Constructor prototype chain.

HTMLFieldSetElement Constructor

Defines the properties and methods inherited by objects in the HTMLFieldSetElement Constructor prototype chain.

HTMLFontElement Constructor

Defines the properties and methods inherited by objects in the HTMLFontElement Constructor prototype chain.

HTMLFormElement Constructor

Defines the properties and methods inherited by objects in the HTMLFormElement Constructor prototype chain.

HTMLFrameElement Constructor

Defines the properties and methods inherited by objects in the HTMLFrameElement Constructor prototype chain.

HTMLFrameSetElement Constructor

Defines the properties and methods inherited by objects in the HTMLFrameSetElement Constructor prototype chain.

HTMLGenericElement Constructor

Defines the properties and methods inherited by objects in the HTMLGenericElement Constructor prototype chain.

HTMLHeadElement Constructor

Defines the properties and methods inherited by objects in the HTMLHeadElement Constructor prototype chain.

HTMLHeadingElement Constructor

Defines the properties and methods inherited by objects in the HTMLHeadingElement Constructor prototype chain.

HTMLHRElement Constructor

Defines the properties and methods inherited by objects in the HTMLHRElement Constructor prototype chain.

HTMLHtmlElement Constructor

Defines the properties and methods inherited by objects in the HTMLHtmlElement Constructor prototype chain.

HTMLIFrameElement Constructor

Defines the properties and methods inherited by objects in the HTMLIFrameElement Constructor prototype chain.

HTMLImageElement Constructor

Defines the properties and methods inherited by objects in the HTMLImageElement Constructor prototype chain.

HTMLInputElement Constructor

Defines the properties and methods inherited by objects in the HTMLInputElement Constructor prototype chain.

HTMLIsIndexElement Constructor

Defines the properties and methods inherited by objects in the HTMLIsIndexElement Constructor prototype chain.

HTMLLabelElement Constructor

Defines the properties and methods inherited by objects in the HTMLLabelElement Constructor prototype chain.

HTMLLegendElement Constructor

Defines the properties and methods inherited by objects in the HTMLLegendElement Constructor prototype chain.

HTMLLIElement Constructor

Defines the properties and methods inherited by objects in the HTMLLIElement Constructor prototype chain.

HTMLLinkElement Constructor

Defines the properties and methods inherited by objects in the HTMLLinkElement Constructor prototype chain.

HTMLMapElement Constructor

Defines the properties and methods inherited by objects in the HTMLMapElement Constructor prototype chain.

HTMLMarqueeElement Constructor

Defines the properties and methods inherited by objects in the HTMLMarqueeElement Constructor prototype chain.

HTMLMetaElement Constructor

Defines the properties and methods inherited by objects in the HTMLMetaElement Constructor prototype chain.

HTMLModelessDialog Constructor

Defines the properties and methods inherited by objects in the HTMLModelessDialog Constructor prototype chain.

HTMLNamespaceInfo Constructor

Defines the properties and methods inherited by objects in the HTMLNamespaceInfo Constructor prototype chain.

HTMLNamespaceInfoCollection Constructor

Defines the properties and methods inherited by objects in the HTMLNamespaceInfoCollection Constructor prototype chain.

HTMLNextIdElement Constructor

Defines the properties and methods inherited by objects in the HTMLNextIdElement Constructor prototype chain.

HTMLObjectElement Constructor

Defines the properties and methods inherited by objects in the HTMLObjectElement Constructor prototype chain.

HTMLOListElement Constructor

Defines the properties and methods inherited by objects in the HTMLOListElement Constructor prototype chain.

HTMLOptionElement Constructor

Defines the properties and methods inherited by objects in the HTMLOptionElement Constructor prototype chain.

HTMLParagraphElement Constructor

Defines the properties and methods inherited by objects in the HTMLParagraphElement Constructor prototype chain.

HTMLParamElement Constructor

Defines the properties and methods inherited by objects in the HTMLParamElement Constructor prototype chain.

HTMLPhraseElement Constructor

Defines the properties and methods inherited by objects in the HTMLPhraseElement Constructor prototype chain.

HTMLPluginsCollection Constructor

Defines the properties and methods inherited by objects in the HTMLPluginsCollection Constructor prototype chain.

HTMLPopup Constructor

Defines the properties and methods inherited by objects in the HTMLPopup Constructor prototype chain.

HTMLScriptElement Constructor

Defines the properties and methods inherited by objects in the HTMLScriptElement Constructor prototype chain.

HTMLSelectElement Constructor

Defines the properties and methods inherited by objects in the HTMLSelectElement Constructor prototype chain.

HTMLSpanElement Constructor

Defines the properties and methods inherited by objects in the HTMLSpanElement Constructor prototype chain.

Storage

Represents the list of key/value pairs that have been assigned to a single storage area.

HTMLStyleElement Constructor

Defines the properties and methods inherited by objects in the HTMLStyleElement Constructor prototype chain.

HTMLTableCaptionElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableCaptionElement Constructor prototype chain.

HTMLTableCellElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableCellElement Constructor prototype chain.

HTMLTableColElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableColElement Constructor prototype chain.

HTMLTableElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableElement Constructor prototype chain.

HTMLTableRowElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableRowElement Constructor prototype chain.

HTMLTableSectionElement Constructor

Defines the properties and methods inherited by objects in the HTMLTableSectionElement Constructor prototype chain.

HTMLTextAreaElement Constructor

Defines the properties and methods inherited by objects in the HTMLTextAreaElement Constructor prototype chain.

HTMLTitleElement Constructor

Defines the properties and methods inherited by objects in the HTMLTitleElement Constructor prototype chain.

HTMLUListElement Constructor

Defines the properties and methods inherited by objects in the HTMLUListElement Constructor prototype chain.

Location Constructor

Defines the properties and methods inherited by objects in the Location Constructor prototype chain.

NamedNodeMap Constructor

Defines the properties and methods inherited by objects in the NamedNodeMap Constructor prototype chain.

Navigator Constructor

Defines the properties and methods inherited by objects in the Navigator Constructor prototype chain.

NodeList Constructor

Defines the properties and methods inherited by objects in the NodeList Constructor prototype chain.

Screen Constructor

Defines the properties and methods inherited by objects in the Screen Constructor prototype chain.

Selection Constructor

Defines the properties and methods inherited by objects in the Selection Constructor prototype chain.

StaticNodeList Constructor

Defines the properties and methods inherited by objects in the StaticNodeList Constructor prototype chain.

Storage Constructor

Defines the properties and methods inherited by objects in the Storage Constructor prototype chain.

StyleSheetList Constructor

Defines the properties and methods inherited by objects in the StyleSheetList Constructor prototype chain.

StyleSheetPage Constructor

Defines the properties and methods inherited by objects in the StyleSheetPage Constructor prototype chain.

StyleSheetPageList Constructor

Defines the properties and methods inherited by objects in the StyleSheetPageList Constructor prototype chain.

Text Constructor

Defines the properties and methods inherited by objects in the Text Constructor prototype chain.

TextRange Constructor

Defines the properties and methods inherited by objects in the TextRange Constructor prototype chain.

TextRangeCollection Constructor

Defines the properties and methods inherited by objects in the TextRangeCollection Constructor prototype chain.

TextRectangle Constructor

Defines the properties and methods inherited by objects in the TextRectangle Constructor prototype chain.

TextRectangleList Constructor

Defines the properties and methods inherited by objects in the TextRectangleList Constructor prototype chain.

Window Constructor

Defines the properties and methods inherited by objects in the Window Constructor prototype chain.

XDomainRequest Constructor

Defines the properties and methods inherited by objects in the XDomainRequest Constructor prototype chain.

XDomainRequest

Represents a cross-domain Asynchronous JavaScript and XML (AJAX) request.

XMLHttpRequest Constructor

Defines the properties and methods inherited by objects in the XMLHttpRequest Constructor prototype chain.

IE8 新增的 Javascript 函数以及属性:

abort Method

The abort method terminates a pending send.

AddService Method

User initiated action to add a service.

AddToFavoritesBar Method

Adds a URL to the Favorites Bar.

ariaActivedescendant Property

Sets or retrieves the currently active child element.

ariaBusy Property

Sets or retrieves a value indicating whether a live region is finished updating.

ariaChecked Property

Sets or retrieves the checked state of this element.

ariaControls Property

Sets or retrieves the list of elements that are controlled by the current element.

ariaDescribedby Property

Sets or retrieves a list of elements that describe the current object.

ariaDisabled Property

Sets or retrieves the disabled state of this element.

ariaExpanded Property

Sets or retrieves the expanded state of this element.

ariaFlowto Property

Sets or retrieves the recommended reading order of content.

ariaHaspopup Property

Sets or retrieves a value indicating whether this element may display a pop-up window.

ariaHidden Property

Sets or retrieves the hidden state of this element.

ariaInvalid Property

Sets or retrieves the error state of this element.

ariaLabelledby Property

Sets or retrieves a list of elements that provide a label for the current object.

ariaLevel Property

Sets or retrieves the level of this element.

ariaLive Property

Sets or retrieves how assistive technology should announce updates to live regions.

ariaMultiselect Property

Sets or retrieves the multiple-selection state of this element.

ariaOwns Property

Sets or retrieves a list of child objects, including elements that are not direct descendants of the current object.

ariaPosinset Property

Sets or retrieves the current position of an item within a set.

ariaPressed Property

Sets or retrieves the pressed state of a button that can be toggled.

ariaReadonly Property

Sets or retrieves the read-only state of this element.

ariaRelevant Property

Sets or retrieves which changes to a live region are relevant.

ariaRequired Property

Sets or retrieves the form-completion requirement of this element.

ariaSecret Property

Sets or retrieves the secret state of this element.

ariaSelected Property

Sets or retrieves the selection state of this element.

ariaSetsize Property

Sets or retrieves the set size of this element.

ariaValuemax Property

Sets or retrieves the maximum value that a user can provide.

ariaValuemin Property

Sets or retrieves the minimum value that a user can provide.

ariaValuenow Property

Sets or retrieves the current value of the element.

attributes Property

Retrieves a collection of attributes of the object.

className Property

Elements with a class name of hslice are treated as a Web Slice. For more information, see Subscribing to Content with Web Slices.

clear Method

Removes all key/value pairs from the DOM Storage area.

compatible Property

Retrieves the collection of user agents and versions declared in the X-UA-Compatible

constructor Property

Returns a references to the constructor of an object.

ContentDiscoveryReset Method

Resets the list of feeds, search providers, and Web Slices associated with the page.

contentDocument Property

Retrieves the document object of the page or frame.

contentType Property

Gets or sets the Content-Type property in the HTML request or response header.

data Property

Sets or retrieves the body of the onmessage request.

defineGetter Method

Allows developers to create new or override existing Document Object Model (DOM) properties and functions using functionality implemented by a custom Microsoft JScript function. The custom function is used to return a value from a property or function.

__defineSetter__ Method

Allows developers to create new or override existing DOM properties and functions using functionality implemented by a custom JScript function. The custom function is used to set the value of a property or a function.

documentMode Property

Retrieves the document compatibility mode.

font Property

This method gets or sets the font properties for the header and footer.

getItem Method

Retrieves the current value associated with the DOM Storage key.

hasAttribute Method

Determines whether an attribute with the specified name exists.

isAlternate Property

Retrieves a value that indicates whether the IHTMLStyleSheet3 object is an alternative style sheet.

isPrefAlternate Property

Retrieves a value that indicates whether the IHTMLStyleSheet3 object is the preferred style sheet.

IsServiceInstalled Method

Check if a service is already installed.

item Method

Retrieves an object from a documentCompatibleInfoCollection collection.

key Method

Retrieves the key at the specified index in the collection.

length Property

Retrieves the length of the key/value list.

localStorage Property

Retrieves a list of DOM Storage areas.

lookupGetter Method lookupSetter Method maxConnectionsPerServer Property

Retrieves the maximum number of HTTP 1.0 connections to a Web server.

msWriteProfilerMark Method

Writes a profiling event.

open Method

Creates a connection with a domain's server.

origin Property

Sets or retrieves the scheme, hostname, and port of the document that fired the onmessage event.

ownerElement Property

Retrieves the element that owns the attribute.

postMessage Method

Sends a cross-document message.

querySelector Method

Retrieves the first DOM element node from descendants of the starting element node that match any selector within the supplied selector string.

querySelectorAll Method

Retrieves all DOM element nodes from descendants of the starting element node that match any selector within the supplied selector strings.

rel Property

Values of bookmark, entry-content, and feedurl have special meaning inside a Web Slice. For more information, see Subscribing to Content with Web Slices.

remainingSpace Property

Retrieves the remaining memory space, in bytes, for the storage object.

removeItem Method

Deletes a key/value pair from the DOM Storage collection.

responseText Property

Contains the body of the response returned by the server.

role Property

Sets or retrieves the role for this element.

send Method

Transmits a data string to the server for processing.

sessionStorage Property

Retrieves the DOM Storage area for the session.

setItem Method

Sets a key/value pair.

source Property

Retrieves the source window object of the onmessage event.

systemXDPI Property

Retrieves the number of horizontal dots per inch (dpi) of display resolution at normal zoom level.

systemYDPI Property

Retrieves the number of vertical dpi of display resolution at normal zoom level.

timeout Property

Gets or sets the value of the timeout property.

timeout Property

Gets or sets the time-out value.

toStaticHTML Method

Removes dynamic HTML elements and attributes from an HTML fragment.

updateSettings Method

Allows updating the print settings for the page.

url Property

Sets or retrieves the fully qualified URL of the document that fired the event.

url Property

Sets or retrieves the URL property that will be loaded after the specified time has elapsed.

userAgent Property

Retrieves the User Agent.

version Property

Retrieves the version vector as a string.

XDomainRequest Property

Instantiates the XDomainRequest object for the window.

IE8 新增的Javascript事件

onerror

Raised when there is an error that prevents the completion of the cross-domain request.

onhashchange

Raised upon changes to a fragment

onload

Raised when the object has been completely received from the server.

onmessage

Fires when the user sends a cross-document message with postMessage.

onoffline

Raised when Internet Explorer is working offline.

ononline

Raised when Internet Explorer is working online.

onprogress

Raised when the browser starts receiving data from the server.

onstorage

Fires when a DOM Storage area is updated.

onstoragecommit

Fires when a local DOM Storage area is written to disk.

ontimeout

Raised when there is an error that prevents the completion of the request.

IE8 新增的 CSS 属性

:after Pseudo-class

Defines generated content that appears after an element.

:before Pseudo-class

Defines generated content that appears before an element.

:focus Pseudo-class

Sets the style of an element when it gains focus.

:lang(C) Pseudo-class

In a document, selects the elements that are in a given language.

borderSpacing Property

Sets or retrieves the distance between the borders of adjoining cells in a table.

boxSizing Property

Sets or retrieves the box model to use for object sizing.

captionSide Property

Sets or retrieves where the caption of a table is located.

content Property

Sets or retrieves generated content to insert before or after an element.

counterIncrement Property

Sets or retrieves a list of counters to increment.

counterReset Property

Sets or retrieves a list of counters to create or reset to zero.

display Property

The display property now supports the full range of table layout values from the W3C Cascading Style Sheets Level 2.1 Specification and ruby styles from the CSS3 Ruby Module.

emptyCells Property

Determines whether to show or hide a cell without content.

msBlockProgression Property

Sets or retrieves the block progression and layout orientation.

orphans Property

Sets or retrieves the minimum number of lines of a paragraph that must appear at the bottom of a page.

outline Property

Sets or retrieves the color, style, and width of the outline frame.

outlineColor Property

Sets or retrieves the color of the outline frame.

outlineStyle Property

Sets or retrieves the style of the outline frame.

outlineWidth Property

Sets or retrieves the width of the outline frame.

pageBreakInside Property

Sets or retrieves a string indicating whether a page break is allowed to occur inside the object.

quotes Property

Sets or retrieves the pairs of strings to be used as quotes in generated content.

widows Property

Sets or retrieves the minimum number of lines of a paragraph that must appear at the top of a page.

后续更新,请参考:http://msdn.microsoft.com/en-us/library/cc304071(VS.85).aspx

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新Javascript教程学习
    热门Javascript教程学习
    编程开发子分类