Skip to content
Advertisement

find element based on tabindex

Using jquery or javascript, how can I find the input element in the DOM that has a particular tabindex set to it, eg.

JavaScript

I would want this element returned if I was searching for the element with tabindex = 7.

Advertisement

Answer

You can get it with the following jQuery

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement