HTML where will the focus go next if I press tab?

Posted by DanC on Stack Overflow See other posts from Stack Overflow or by DanC
Published on 2010-06-17T20:19:33Z Indexed on 2010/06/17 20:23 UTC
Read the original article Hit count: 196

Filed under:
|
|
|
|

Hi all,

Is there some way of knowing where will the focus jump to when the tab key key will be pressed and certain element has the focus?

I am thinking on something to be used this way:

var nextElement = whereWillFocusJumpTo(currentElement);

Thanks!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html