最新国产好看的视频,伊人天堂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>

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

</body>
</html>
沈阳市| 南召县| 仙桃市| 稷山县| 绥江县| 休宁县| 乐陵市| 茶陵县| 阿城市| 郴州市| 大英县| 阿拉尔市| 穆棱市| 慈利县| 翁牛特旗| 涡阳县| 通榆县| 西乌| 海兴县| 永嘉县| 当涂县| 禄劝| 灵寿县| 安达市| 陇西县| 清涧县| 从化市| 台南县| 罗平县| 马鞍山市| 秦皇岛市| 乌苏市| 光山县| 武强县| 济源市| 农安县| 綦江县| 棋牌| 武平县| 汉中市| 洪雅县|