Click to See Complete Forum and Search --> : how to use javascript variable in php


packetx9
10-18-2007, 05:15 PM
hello every one

how to use java script variables in php (according to me its not possible)
but bugged up with a problem ,,,please help me


one more thing im designing a form in which i am using multiple dropdowns in the first drop down the values are reflected from database now when i select a value from first dropdown corresponding values must be reflected to second dropdown ( the above problem)

plz guys help

knowj
10-18-2007, 06:08 PM
as long as the values are withing a form in inputs/select options/textarea its extremely simple to do as your just passing get/post variables.

The last system i build has a small ajax system which pulls a clients contacts from the database when a client is selected for a job.

Then when the form is submitted it passes the selected contact in the post superglobal