MacNala Posted September 20, 2012 Share Posted September 20, 2012 Exactly as it says in the title.How do you set the focus to be a specific field in a form using pre HTML 5 and IE? Link to comment Share on other sites More sharing options...
DarkxPunk Posted September 21, 2012 Share Posted September 21, 2012 Are you asking to do this on page load? If so you need to resort to JavaScript. Link to comment Share on other sites More sharing options...
MacNala Posted September 21, 2012 Author Share Posted September 21, 2012 I was hoping to be able to do this using IE9 and possibly HTML 5 but the article I have read seemed to suggest that only OEM browsers supported the 'autofocus' option. So I wondered how people had been doing this before HTML 5.I notice a lot of websites with forms do not even try to place the focus so obviously it is not something web designers care about. Not what I have been used to with other non web based applications.Thanks for taking the trouble to reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now