- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / textinput / focus_input_on_anothor_focus.html
1 <html>
2   <head>
3     <script src="textinput_helper.js"></script>
4     <script>
5       window.onload = function() {
6         var ele = document.getElementById('text_id');
7         ele.onfocus = function(e) {
8           document.getElementById('password_id').focus();
9         };
10       };
11     </script>
12   </head>
13   <body>
14   <input type="text" id="text_id">
15   <input type="password" id="password_id">
16   </body>
17 </html>