Reputation: 13843
Is it possible to write a jquery selector for an element based on its tabindex?
E.g.
<div TabIndex='-1'>jQuery me up baby</div>
Upvotes: 3
Views: 7606
Reputation: 14600
Sure, this should be possible:
$('div[TabIndex*="-1"]')
You can find more documentation about it here.
Reputation: 754725
Sure. It's just another attribute
$('[TabIndex="-1"]').