I have this Javascript in a web page with a form and text field:
<script>
setTimeout("document.LogIn.InputUser.focus()",500);
</script>
On my desktop version of Safari, it automatically puts the cursor in the field "InputUser" in the form "LogIn". This does not work at all on my iPhone. When a user accesses my page, I want the cursor in the top field with the keyboard visible. Is there a way to do this that works? Type slowly and keep the code simple--I'm still a neophyte.
thanks in advance,
tim
<script>
setTimeout("document.LogIn.InputUser.focus()",500);
</script>
On my desktop version of Safari, it automatically puts the cursor in the field "InputUser" in the form "LogIn". This does not work at all on my iPhone. When a user accesses my page, I want the cursor in the top field with the keyboard visible. Is there a way to do this that works? Type slowly and keep the code simple--I'm still a neophyte.
thanks in advance,
tim
Last edited: