Jump to content

Focus Form Field on iPhone iOs6


timstring
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...