Category Archives: Javascript

Setting HTML Input Field Focus on Load

By | July 1, 2008

It seems pretty simple, but still far too many web sites don’t set the focus on the input field that users are most likely to type into when loading a page. Let’s say you have a page with an HTML form with the ID login with fields named user and password. Here’s the HTML and… Read More »