J
jason
Hello.
I've got this page that refreshes automatically and I am able to set
the focus on a specific field at page load with. However the cursor
goes back to position 1. In some cases my users will be in the middle
of typing when a refresh occurs. How do get the cursor back to the
position it was in when the refresh took place?
Here's how I set focus:
document.getElementById('namehere').focus();
Keep in mind the refresh is driven by a javascript timeout call to
document.mydoc.submit() ;
Thanks for any help or information!
I've got this page that refreshes automatically and I am able to set
the focus on a specific field at page load with. However the cursor
goes back to position 1. In some cases my users will be in the middle
of typing when a refresh occurs. How do get the cursor back to the
position it was in when the refresh took place?
Here's how I set focus:
document.getElementById('namehere').focus();
Keep in mind the refresh is driven by a javascript timeout call to
document.mydoc.submit() ;
Thanks for any help or information!