From tabindex include <selects>

ⅰ亾dé卋堺 提交于 2019-12-11 09:47:00

问题


Is it possible to tab to a <select> element? I am creating a rather intensive form that would greatly benefit from being able to tab through everything not just the text fields.

<input type="text" name="date" value="00/00/0000" tabindex="1" />
<select name="hour" tabindex="2">
    <option value="1">01</option>
    <!-- Blah more -->
</select>
&nbsp;:&nbsp;

<select name="minute" tabindex="3">
    <option value="0">00</option>
    <!-- Blah -->
</select>

Above code does not work in Firefox (at least for me).

来源:https://stackoverflow.com/questions/3159782/from-tabindex-include-selects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!