W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2010

[whatwg] Two propositions for the autofocus attribute

From: Eitan Adler <eitanadlerlist@gmail.com>
Date: Sun, 25 Apr 2010 23:08:36 +0300
Message-ID: <v2pa0777e081004251308x34ea3209qf9510bad24844011@mail.gmail.com>
> - 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.
Received on Sunday, 25 April 2010 13:08:36 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:22 UTC