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

python - Does anyone know how to configure the hunpos wrapper class on nltk? -

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