HTMLElement.tabIndex

  • Revision slug: DOM/element.tabIndex
  • Revision title: element.tabIndex
  • Revision id: 29428
  • Created:
  • Creator: Mgjbot
  • Is current revision? No
  • Comment robot Adding: [[fr:DOM:element.tabIndex]] <<langbot>>

Revision Content

{{template.DomRef()}}

Summary

Gets/sets the tab order of the current element.

Syntax

element.tabIndex = iIndex

Parameters

  • iIndex is a number

Example

b1 = document.getElementById("button1"); 
b1.tabIndex = 1;

Specification

tabIndex

{{ wiki.languages( { "fr": "fr/DOM/element.tabIndex", "pl": "pl/DOM/element.tabIndex" } ) }}

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>
<div class="noinclude">
</div>
{{ wiki.languages( { "fr": "fr/DOM/element.tabIndex", "pl": "pl/DOM/element.tabIndex" } ) }}
Revert to this revision