How to get the TabIndex property of the current active control?

How to find a property TabIndexof a control that has active focus at runtime. I use UlitmateEditor (text editor) ie User Control, so I want to concentrate inside the body of this editor.

+3
source share
3 answers

You should be able to:

alert(document.activeElement.tabIndex);

You should get the active control and its tab index.

+10
source

AFAIK asp.net - HTML- =)
tabindex HTML, document.activeElement.tabIndex. , , javascript .

0

Source: https://habr.com/ru/post/1794199/


All Articles