Hi ! I need a javascript code which sends variable to PHP.
I have a drop down menu (<select>) in the select there are diffrent cities and i have an array of neighborhoods and when one city is selected, a part of that array shows up, e.g. from 13 to 28
I have the php code, just need the javascript that sends the variable depending on the selected city.
trevata
0
Newbie Poster
Recommended Answers
Jump to PostHow about showing what you have attempted so far?
Jump to PostI don't know PHP so I won't be making any erroneous assumptions here but achieving this depends on how you are pulling the data irrespective of the server side language used. Are you pulling the *entire* data in a single request and toggling the SELECT boxes using Javascript or are …
All 6 Replies
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
trevata
0
Newbie Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
trevata
0
Newbie Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
trevata
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.