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

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -