Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例えば:
<div id="d">ss</d>
IDでdivを取得するにはどうすればよいですか?
Chrome 拡張機能を作成するときは、contentWindow 変数を使用して Web ページにアクセスする必要があります。
contentWindow.document.getElementById("d");
次のステートメントを使用します。
document.getElementById('d');