• <i id='a22kp'><tr id='a22kp'><dt id='a22kp'><q id='a22kp'><span id='a22kp'><b id='a22kp'><form id='a22kp'><ins id='a22kp'></ins><ul id='a22kp'></ul><sub id='a22kp'></sub></form><legend id='a22kp'></legend><bdo id='a22kp'><pre id='a22kp'><center id='a22kp'></center></pre></bdo></b><th id='a22kp'></th></span></q></dt></tr></i><div id='a22kp'><tfoot id='a22kp'></tfoot><dl id='a22kp'><fieldset id='a22kp'></fieldset></dl></div>

    1. <small id='a22kp'></small><noframes id='a22kp'>

      <tfoot id='a22kp'></tfoot>
        <bdo id='a22kp'></bdo><ul id='a22kp'></ul>
    2. <legend id='a22kp'><style id='a22kp'><dir id='a22kp'><q id='a22kp'></q></dir></style></legend>

        选项卡以&lt;选择&gt;html中的输入元素

        tab to lt;selectgt; input element in html(选项卡以lt;选择gt;html中的输入元素)
        1. <tfoot id='8FS19'></tfoot>
            <tbody id='8FS19'></tbody>

              • <bdo id='8FS19'></bdo><ul id='8FS19'></ul>
                <legend id='8FS19'><style id='8FS19'><dir id='8FS19'><q id='8FS19'></q></dir></style></legend>

                • <small id='8FS19'></small><noframes id='8FS19'>

                  <i id='8FS19'><tr id='8FS19'><dt id='8FS19'><q id='8FS19'><span id='8FS19'><b id='8FS19'><form id='8FS19'><ins id='8FS19'></ins><ul id='8FS19'></ul><sub id='8FS19'></sub></form><legend id='8FS19'></legend><bdo id='8FS19'><pre id='8FS19'><center id='8FS19'></center></pre></bdo></b><th id='8FS19'></th></span></q></dt></tr></i><div id='8FS19'><tfoot id='8FS19'></tfoot><dl id='8FS19'><fieldset id='8FS19'></fieldset></dl></div>

                  本文介绍了选项卡以&lt;选择&gt;html中的输入元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个 form,其中有几个 inputselect 元素.我的问题是我可以使用选项卡在 input 元素之间移动,但不能使用 select 下拉菜单.我试过 tabindex="2" 属性,但没有任何影响.

                  I have a form, and within it several input and select elements. My problem is that I can use tab to move between input elements, but not the select drop down menu. I tried tabindex="2" attribute, but it didn't affect anything.

                  有没有办法做到这一点?

                  Is there way to do this?

                  这是我的代码示例.如果它改变了我在 php 中的任何内容,但我无法在 html ether 中将其添加到选项卡中.

                  Here is a sample of my code. If it changes anything I'm in php, but I'm not able to get it to tab in html ether.

                  <table>
                      <tr>
                          <td>
                          <select>
                              <option value="volvo">Volvo</option><option value="saab">Saab</option><option value="mercedes">Mercedes</option><option value="audi">Audi</option>
                          </select></td><td>
                          <input type="text" name="location" size=17 maxlength=22/>
                          </td><td>
                          <input type="text" name="date" size=12 maxlength=10/>
                          </td>
                      </tr>
                  </table>
                  

                  我希望我发布的正确我很难使用代码.

                  I hope I posted this right I'm have a hard time with the code.

                  推荐答案

                  例如,在 Firefox 上,您现实生活示例页面中的 select 元素 http://cafe.bg14.com/purchases.php 可以被标签到,只是标签顺序晚了.原因是您正在为某些表单字段设置 tabindex 属性,但不是全部.没有属性的人会排在最后.

                  On Firefox, for example, the select element on your real life sample page http://cafe.bg14.com/purchases.php can be tabbed to, it’s just late in the tabbing order. The reason is that you are setting tabindex attribute for some form fields but not all. Those without the attribute will come last.

                  要么删除所有 tabindex 属性(如果自然跳格顺序,按 HTML 标记中的顺序,是可以的),或者将它们用于应该参与跳格的所有字段和其他项目.

                  Either remove all tabindex attributes (if the natural tabbing order, by order in HTML markup, is OK), or use them for all fields and other items that should participate in tabbing.

                  在确定您希望使用的 HTML 版本之后,您还应该使用 HTML W3C 验证器修复标记.该页面现在声明了 XHTML 1.0,但使用了不带引号的属性值和 HTML5 特性.这使得更难发现有严重的标记错误,例如 th 元素没有包含在 tr 元素中.(破坏 HTML 表格模型可能会对渲染和功能产生影响.)

                  You should also fix the markup, using HTML W3C validator, after deciding which version of HTML you wish to use. The page now declares XHTML 1.0 but uses unquoted attribute values and HTML5 features. This makes it more difficult to see that there are serious markup errors, like th elements not wrapped inside a tr element. (Breaking the HTML table model may have an impact on both rendering and functionality.)

                  这篇关于选项卡以&lt;选择&gt;html中的输入元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  PHP Upload File Validation(PHP 上传文件验证)
                  PHP Error - Uploading a file(PHP 错误 - 上传文件)
                  How can I write tests for file upload in PHP?(如何在 PHP 中编写文件上传测试?)
                  php resizing image on upload rotates the image when i don#39;t want it to(php在上传时调整图像大小会在我不想要它时旋转图像)
                  How to send additional data using PLupload?(如何使用 PLupload 发送附加数据?)
                  change button text in js/ajax after mp4 =gt;mp3 conversion in php(在 php 中的 mp4 =gt;mp3 转换后更改 js/ajax 中的按钮文本)
                • <small id='3qjc9'></small><noframes id='3qjc9'>

                • <i id='3qjc9'><tr id='3qjc9'><dt id='3qjc9'><q id='3qjc9'><span id='3qjc9'><b id='3qjc9'><form id='3qjc9'><ins id='3qjc9'></ins><ul id='3qjc9'></ul><sub id='3qjc9'></sub></form><legend id='3qjc9'></legend><bdo id='3qjc9'><pre id='3qjc9'><center id='3qjc9'></center></pre></bdo></b><th id='3qjc9'></th></span></q></dt></tr></i><div id='3qjc9'><tfoot id='3qjc9'></tfoot><dl id='3qjc9'><fieldset id='3qjc9'></fieldset></dl></div>
                  <tfoot id='3qjc9'></tfoot>

                    <bdo id='3qjc9'></bdo><ul id='3qjc9'></ul>

                        <tbody id='3qjc9'></tbody>

                          <legend id='3qjc9'><style id='3qjc9'><dir id='3qjc9'><q id='3qjc9'></q></dir></style></legend>