开发者

jQuery Selector - Tabindex = -1

开发者 https://www.devze.com 2023-02-21 00:24 出处:网络
Is it possible to write a jquery selector for an element based o开发者_StackOverflow社区n its tabindex?

Is it possible to write a jquery selector for an element based o开发者_StackOverflow社区n its tabindex?

E.g.

<div TabIndex='-1'>jQuery me up baby</div>


Sure, this should be possible:

$('div[TabIndex*="-1"]')

You can find more documentation about it here.


Sure. It's just another attribute

$('[TabIndex="-1"]').
0

精彩评论

暂无评论...
验证码 换一张
取 消