Re: Web Form Autofocus JavaScript
Sure. It's not that it's difficult, it's that it's unnecessary and therefore annoying. I'm the sort of person who thinks that the mouse is a highly overrated, clunky interface compared to keyboard control, anyway, and two seconds messing with a mouse compares very poorly, to my way of thinking, with a fraction of a second for a keypress.
I can understand why webmasters might say "oh, it's two seconds to click" and not want to mess with defining body onload tags or alterations to their forms and so on, especially when, as we've discussed, people often create new problems by trying to solve this one. Which is why I made a script that doesn't need you to mess with your body tag or your forms at all, generally automatically figuring out the most reasonable thing to do, and avoids the problems that less cautious implementations create.
|