我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

Event.srcElement is a proprietary alias (implemented in Internet Explorer) for the standard Event.target property, which is supported in some other browsers for web compatibility purposes.

Specifications

Specification Status Comment
DOM
The definition of 'Event.srcElement' in that specification.
Living Standard  

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
srcElement
Non-standard
Chrome Full support YesEdge Full support 12Firefox Full support 62IE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 62Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.

See also

文件標籤與貢獻者

最近更新: mdnwebdocs-bot,