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

The element that's currently selected in the Page Inspector can be referenced in the Web Console using the variable $0.

DOM elements in the Web Console output get a target next to them. If you hover over this target, the element is highlighted in the page, and if you click the target, the element is selected in the Inspector:

 

文件標籤與貢獻者

標籤: 
此頁面的貢獻者: mdnwebdocs-bot, wbamberg, kscarfone
最近更新: mdnwebdocs-bot,