/    Sign up×
Community /Pin to ProfileBookmark

Chained drop down Javascript? Php? or Ajax?

What is the easiest way to create multiple drop down menus on different html pages that are chained together so you cannot pick the same option twice. Either the second drop down gives you and error or the selection of the first drop down dissapears when going to the second dropdown.

Should I use Javascrip, Ajax, Php with mysql?

Also, if anyone has sample code or a website that implemented this before can you send that over. I looked every where and cannot find any answers.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@apegApr 01.2010 — Im not sure exactly what you asking (chain together?)

Ajax, Php & SQL would not be used for the dropdown menu itself, depending on your needs perhaps dynamically generated menu items?

As for the menu itself HTML/CSS is your simplest start, if your feeling adventurous take a look what jQuery (JavaScript) can do for you.

here is a nice site withs some menu examples:

http://www.stunicholls.com/menu/index.html
×

Success!

Help @connollyc4 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 5.16,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...