Is there any attribute like tab-index?
CONTEXT : I'm making a section in a web form visible or invisible depending on some condition where I want to set the tab-index manually when that particular section is visible.
document.getElementById("link3").tabIndex = 6;