<input id=a>
<input onclick="document.getElementById('a').focus()" type=button>