Click to See Complete Forum and Search --> : form submission with Javascript


ktsirig
12-18-2006, 05:50 PM
Hello!
I am searching over the net for quite a long, but I have almost no idea concerning Javascript so I can't figure out the solution to my problem...
I have a form that show a drop-down menu, which takes all its values through a Mysql database via PHP. What I want to do is to submit the form to the next page (from index.php ---> retrieve_data.php) without the need of a "Submit" button.
When the user selects one of the given options, automatically he will be redirected to retrieve_data.php?id=5 for example...

Thank you in advance!

dougal85
12-18-2006, 08:57 PM
well my first google search found it. Well, i think its what your looking for.

http://www.javascript-coder.com/javascript-form/javascript-form-submit.phtml