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
Post a Comment