dbutler Posted July 25, 2009 Share Posted July 25, 2009 Its my understanding that the HTML DOM contains a way to have the curser go directly to a specified text form field upon page load. I have a very simple login page to a php/mysql application I built and when users go to that page, I want the cursor to default to already be in the "username" form text field. Can I do this outside of javascript??? Thanks in advance for your help...drb Link to comment Share on other sites More sharing options...
Ingolme Posted July 25, 2009 Share Posted July 25, 2009 HTML DOM does have the way, but you can only access the DOM with Javascript.The Input object has a focus() method. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.