3 <script src="textinput_helper.js"></script>
5 window.onload = function() {
6 var ele = document.getElementById('text_id');
7 ele.onfocus = function(e) {
8 document.getElementById('password_id').focus();
14 <input type="text" id="text_id">
15 <input type="password" id="password_id">