/    Sign up×
Community /Pin to ProfileBookmark

how to use javascript variable in php

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

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@knowjOct 18.2007 — 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
×

Success!

Help @packetx9 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...