Prevent tabstop on A element (anchor link) in HTML

后端 未结 5 747
北荒
北荒 2020-11-29 05:54
5条回答
  •  时光说笑
    2020-11-29 06:27

    You could apply a JQuery handler to the element you want to target multiple elements with no tab stop.

    $(document).ready(function () {
        $('.class').attr('tabindex', '-1');
    });
    

    Would be one way to do it....

提交回复
热议问题