cursor positioning

J

john

I'm using an input form and displaying the results in an Access DB on the same page as the input form. For the confirmation page, I've entered the same page as the input/display page. After I enter text in the form and "submit", the page refreshes and correctly shows (in the Access table) the data I just entered.

My question: how do I get the cursor to return to the input form field after submit? Currently, I have to tab to it or select it with a mouse (even though when I first link to it, the cursor is correctly positioned on the input form).

TIA
john
 
M

Mike

You could try putting somethin in the <body> tage like:

<body onLoad="document.FORMNAME.FIELDNAME.focus()}">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top