asp.net - How to get Tab Index of active/focused control on page using javascript -


i have controls on page, there way can tabindex of active control or focused control?

thanx

i'm assuming you've got jquery, since question tagged asp.net. in case:

var tabindex = $(':focus').attr('tabindex'); 

should it. if element not have explicitly declared tabindex attribute, tabindex var undefined.


Comments

Popular posts from this blog

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -