BluwAngel Posted August 2, 2012 Share Posted August 2, 2012 hi i have some page where i write numbers and its stores them in database, but it would be great not to press tab (or click on that field) every time, how do i create when its loaded that i can just type in like google have when page is loaded Link to comment https://forums.phpfreaks.com/topic/266583-form-like-on-google/ Share on other sites More sharing options...
trq Posted August 2, 2012 Share Posted August 2, 2012 .focus() Link to comment https://forums.phpfreaks.com/topic/266583-form-like-on-google/#findComment-1366265 Share on other sites More sharing options...
Mahngiel Posted August 2, 2012 Share Posted August 2, 2012 .focus() HTML5 brought <input autofocus=true /> See IBM dev works for a complete listing and dialogue. Link to comment https://forums.phpfreaks.com/topic/266583-form-like-on-google/#findComment-1366297 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.