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 Quote 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() Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/266583-form-like-on-google/#findComment-1366297 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.