HTMLElement.tabIndex

  • Revision slug: DOM/element.tabIndex
  • Revision title: element.tabIndex
  • Revision id: 29429
  • Created:
  • Creator: Mw22
  • Is current revision? No
  • Comment /* Specification */

Revision Content

Revision Source

<p>
{{template.DomRef()}}
</p>
<h3 name="Summary">Summary</h3>
<p>Gets/sets the tab order of the current element. 
</p>
<h3 name="Syntax">Syntax </h3>
<pre class="eval">element.tabIndex = <i>iIndex</i>
</pre>
<h3 name="Parameters">Parameters </h3>
<ul><li> <code>iIndex</code> is a number
</li></ul>
<h3 name="Example">Example </h3>
<pre>b1 = document.getElementById("button1"); 
b1.tabIndex = 1;
</pre>
<h3 name="Specification">Specification </h3>
<p><a class="external" href="http://www.w3.org/TR/2000/WD-DOM-Level-2-HTML-20001113/html.html#ID-40676705">tabIndex </a>
</p><p>For some useful info, see also:
<a class="external" href="http://developer.mozilla.org/en/docs/Key-navigable_custom_DHTML_widgets#The_solution:_changes_to_standard_behavior_of_tabindex">http://developer.mozilla.org/en/docs/Key-navigable_custom_DHTML_widgets#The_solution:_changes_to_standard_behavior_of_tabindex </a>
</p>
<div class="noinclude">
</div>
{{ wiki.languages( { "fr": "fr/DOM/element.tabIndex", "pl": "pl/DOM/element.tabIndex" } ) }}
Revert to this revision