最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

HTML DOM tabIndex 屬性

定義和用法

tabIndex 屬性可設置或返回按鈕的 tab 鍵控制次序。

語法

buttonObject.tabIndex=tabIndex

實例

下面的例子將返回按鈕的 tab 鍵控制次序:

<html>
<head>
<script type="text/javascript">
function showTabIndex()
  {
  var b1=document.getElementById('b1').tabIndex;
  var b2=document.getElementById('b2').tabIndex;
  var b3=document.getElementById('b3').tabIndex;
  document.write("Tab index of Button 1: " + b1);
  document.write("<br />");
  document.write("Tab index of Button 2: " + b2);
  document.write("<br />");
  document.write("Tab index of Button 3: " + b3);
  }
</script>
</head>
<body>

<form>
<input type="button" id="b1" tabIndex="1" value="Button 1" />
<br />
<input type="button" id="b2" tabIndex="2" value="Button 2" />
<br />
<input type="button" id="b3" tabIndex="3" value="Button 3" />
<br />
<input type="button" onclick="showTabIndex()"
value="Show tabIndex" />
</form>

</body>
</html>
禹城市| 景德镇市| 旺苍县| 电白县| 乌审旗| 灵台县| 万安县| 汤原县| 资中县| 汉中市| 玛纳斯县| 伊宁县| 甘南县| 栖霞市| 思茅市| 漾濞| 阳泉市| 逊克县| 平邑县| 胶南市| 长乐市| 阿尔山市| 芜湖县| 渑池县| 垦利县| 沈阳市| 祥云县| 平远县| 吉林省| 阿图什市| 读书| 宁陵县| 陵水| 伊川县| 伊金霍洛旗| 越西县| 安溪县| 博野县| 伊川县| 西畴县| 阳曲县|