this is good. However can I use autofocus in multiple fields at the same time ?

ralphm
—
2012-06-30T04:34:55Z —
#2

windowsxp said:

can I use autofocus in multiple fields at the same time ?

That would make no sense at all. Only one item can have focus at a time. So either choose which item you want focus to fall on when the page loads, or don't use the feature and let the user decide what to focus on.

windowsxp
—
2012-06-30T04:45:31Z —
#3

ralph_m said:

Only one item can have focus at a time.

Thanks. this helped.

ralphm
—
2012-06-30T04:58:28Z —
#4

windowsxp said:

Thanks. this helped.

Out of interest, I was wondering what browsers would do if you had autofocus on more than one input. Firefox chose the first one and ignored the second. Chrome ignored the first one and put focus on the second (more what I expected).