web 前端 html 控制表单内 tab的切换顺序

标签上的 tabindex 属性

    <input type="text" tabindex="1"> 
    <input type="text" tabindex="1"> 
    <input type="text" tabindex="1"> 
    <input type="text" tabindex="1"> 
    <input type="button" value="最后一个" tabindex="5"> 
    <input type="button" value="倒二个" tabindex="4"> 

posted @ 2022-03-15 15:11  柯宝宝智商感人  阅读(203)  评论(0编辑  收藏  举报