Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing parameters from one drop down list to another

Status
Not open for further replies.

mako

Programmer
Apr 6, 2000
11
MY
hi! i'm trying to create a drop down list that changes the option value of another drop down list. (hope you understand).<br><br>right, let's say the first list contains a list of countries. on selecting the country, the second list will change and display the states of that selected country all on the same page. any help is much appreciated.<br>thanks!<br><br>
 
Hi! I'm facing the same problem as well. What you're trying to do is a dynamic drop list.<br><br>I am trying to populate 2 list boxes from a database, and limit the second selections based on what the user selects on the first one. Would appreciate any working scripts as examples.
 
...well, I've got the same problem trying to pass on the dynamic contents of a SELECT box into the (also dynamic) SELECT box on the following ACTION page. So far I've come across a Java script called RelatedSelects(<A HREF=" TARGET="_new"> allows this with 2 SELECT boxes on a single page (!), but it seems to me that this is a less than elegant solution (and not 100% of what I'm trying to achieve anyway).<br><br>Either the CF documentation is a bit lacking or this relatively simple variable is impossible? Please help if you can.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top