/    Sign up×
Community /Pin to ProfileBookmark

Can multi-pulldowns ……

can you have three or four pulldown menus but depending on the one before it, it changes opions. For example: pulldown one has #1 #2 and if #1 is selected then Red and blue, but #2 Green and Yellow and so on?
Thanks

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@JonaJun 03.2003 — [font=arial][color=maroon]Yes, you can just see which object you have. Example, onChange="execFunc(this);" name="sel1" for the first one and function execFunc(selObj){ if(selObj.name=="sel1"){var color = red; var color2 = blue;} else{color=green; color2 = yellow;} }[/color][/font]

[b]Jona[/b]
Copy linkTweet thisAlerts:
@Tasmanian_DevilauthorJun 03.2003 — Jona~

Thanks again for your help.
Copy linkTweet thisAlerts:
@JonaJun 03.2003 — [font=arial][color=green]You're welcome.[/color][/font]

[b]Jona[/b]
×

Success!

Help @Tasmanian_Devil 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.3,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

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