Forum Moderators: open

Message Too Old, No Replies

returning form values without "submitting"

use JS to produce a MySql Query

         

mattclayb

8:08 am on Jul 7, 2005 (gmt 0)

10+ Year Member



Hi,
I know some PHP and SQL, but think that I require Javascript as the solution to my problem, but I am a complete novice in JS.

THE TASK

I want to create two dropdown select menus in HTML on the same page, and have Javascript update whatever is selected, so I can return the values without the need of a submit button and without leaving the page. This is so I can grab the form values as variables in PHP and create a MySql query from them.

I would very much appreciate any ideas!

regards,

Matt

orhor

6:09 pm on Jul 7, 2005 (gmt 0)

10+ Year Member



hi,pls, write what is the next step of your task. do you want to dynamicly change the content of your page regarding to what is selected in those SELECTs? Or?