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.
ページにチャートがあります。ハイパーリンクをクリックすると、別の詳細なチャートが下に表示されます。今私が欲しいのは、リンクをクリックすると、ウィンドウのフォーカスが古いチャートの下に表示される新しいチャートに移動することです。何か案は?ありがとう
私はそれがうまくいくと思います...ハイパーリンクをクリックして getfocus() を呼び出します
<script> function getfocus() { document.getElementById('yourchart').focus(); } </script>