From tabindex include

2019-07-26 17:56发布

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).

0条回答
登录 后发表回答