-
Website
http://buildingbrowsergames.com -
Original page
http://buildingbrowsergames.com/2008/05/20/making-your-forms-auto-focus/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
gabrielbianconi
1 comment · 1 points
-
Luke
82 comments · 1 points
-
spatlabor
1 comment · 1 points
-
HughCompton
2 comments · 1 points
-
obat jerawat
1 comment · 1 points
-
-
Popular Threads
both* have the code already implemented on them.
If you are having trouble understanding how document.getElementById() works,
you may want to learn a little bit more javascript before attempting to add
it to your projects.
<input type="text" name="username" tabindex="1">
1 is highest priority then 2 and so on. 0 will only be cycled through after the others have been.
Note that this doesn't replace document.getElementByld() ... but it helps for the after ward.