Syntax document.form.button.focus() The focus() method applies focus to the button without invoking the button's onFocus event handler. value="I hold my focus after a click" name="button1"> value="I shift my focus when click" name="button2" onClick="moveFocus()">