Forum Moderators: open

Message Too Old, No Replies

Return to texbox after submit

         

ikke

9:45 am on Apr 26, 2005 (gmt 0)

10+ Year Member



Hello,

I hope that the post stand good here.

Does someone know how you can do the following:

I have a large list of products automaticly listed with php an mysql. you can give each of the product an ammount you want. Now I want that, after you click the submit button that the cursor(mouse) and the screen go back to the text box where you filled in the ammount.

Someone has an idea?

Thanks alot

BlobFisk

10:44 am on Apr 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Will the submit not post the form to another page? Or is this part of a validation script?

To return focus to an element use:

document.getElementById('ElementID').focus();

HTH