timstring Posted November 1, 2012 Share Posted November 1, 2012 Is there any want to focus on a field in iOs 6? I have tried various techniques and have found one that works on my desktop but not on the iPhone. I was told that this feature was included in iOs 5, but I can't figure out how to make it work. Here's the latest try: <body onload = "document.getElementById('focus-field').focus();"> then: <input type= "number" name="Display_Entry" id="focus-field" /> ty in advance tim "If builders buildings, the way that programmers write programs, the first woodpecker to come along would wreck civilization." Link to comment Share on other sites More sharing options...
abdelelbouhy Posted November 3, 2012 Share Posted November 3, 2012 try html5 autofocus attribute 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