'tabIndex' Example : tabIndex « Javascript Properties « JavaScript Reference

'tabIndex' Example

    
<html>
<body>
<input type="text" value="Tab 1" tabindex="0"</input>
<input id="myText" type="text" value="Tab 2" tabindex="1"</input>
<button onclick="alert(myText.tabIndex);">Tab Index of second text box</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'tabIndex' Syntax and Note
2.'tabIndex' is applied to