Set the focus to an element using JavaScript · <input id="name" placeholder="Name"/> · const input = document.getElementById("name"); · // sets the focus to an ...
確定! 回上一頁