|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
OT - JS question
Author: Bruce Sorge
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:64107#352116
I have a form where I am adding administrators to a site. Site administrators and
resort administrators. Rather than have two separate forms for this I thought
that what I would do is when they are adding an admin, if they select a resort
admin, then another select list appears with a list of resorts. Otherwise if they
are a site admin they do not need ot select a resort. I have looked on line for
JS to do this but all I can find is something that shows both select lists, and
if you select a certain item in the first one then the second one populates,
otherwise the list is empty. Admittedly I am not all that savvy at writing JS
code. Has anyone done this before and would you be willing to share the code?
Thanks,
Bruce
|
May 19, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||