Javascript Reference
Categories: BUTTON

javascript BUTTON tabIndex

@Sept. 2, 2008, 2:17 a.m.
tabIndex Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM 1
  Read/Write
 

A number that indicates the sequence of this BUTTON element within the tabbing order of all focusable elements in the document. Tabbing order follows a strict set of rules. Elements that have values other than zero assigned to their tabIndex properties are first in line when a user starts tabbing in a page. Focus starts with the element with the lowest tabIndex value and proceeds in order to the highest value, regardless of physical location on the page or in the document. If two elements have the same tabIndex values, the element that comes earlier in the document receives focus first. Next come all elements that either don't support the tabIndex property or have the value set to zero. These elements receive focus in the order in which they appear in the document. A value of -1 removes the element from tabbing order altogether.

Note that the Macintosh user interface does not provide for giving focus to elements other than text and password INPUT fields.

 
Example
document.forms[0].ZIPButton.tabIndex = 6
 
Value
Integer.
 
Default
None.

 

[url=https://fcialisj.com/]cialis for daily use[/url]
havoity - 1 years

Powered by Linode.