[whatwg] Two propositions for the autofocus attribute

Eitan Adler eitanadlerlist at gmail.com
Sun Apr 25 13:08:36 PDT 2010


> - multiple autofocused elements per page are valid, but only one per form
Is it possible to focus on multiple elements at the same time even in
different forms? If they are both text boxes and a user types which
element gets the keyboard input?

Autofocus only really makes at load time - for any other dynamic focus
I think .focus() should be used.



More information about the whatwg mailing list