[thelist] Stupid JS trick

Jasen James thelist at cbizz.net
Wed Aug 8 21:14:49 CDT 2001


Hi Michael,

Hope this helps below.

:///////////////////////////////////////////>>
:From: thelist-admin at lists.evolt.org
:[mailto:thelist-admin at lists.evolt.org]On Behalf Of Michael Buffington
:Sent: Wednesday, August 08, 2001 9:00 PM
:Subject: [thelist] Stupid JS trick
:
:I have no doubt that this topic has been extensively covered, but after an
:hour or two of searching I've swallowed my pride and am now taking 
:it to the
:list.
:
:I have a form, with several select elements. The select elements are
:populated by individual ColdFusion queries (which probably isn't that
:relevant).
:
:I need the select elements to show dynamic values based on the 
:selections of
:the other select elements, using JavaScript to avoid a refresh.
:
:So if the user selects CA in select box 1, select box 2 should only show
:cities unique to california. It also needs to go the other direction - if
:the user leaves select box 1 blank, but selects a city, the state for that
:city should be selected.
:///////////////////////////////////////////////////>>

:-----------------------------------------------------------------:
:Try two(2) selects related I guess and see if that works for you.:
:        http://devex.allaire.com/developer/gallery/              :
:-----------------------------------------------------------------:

Hope this helps,
[[:Jasen James:]]
//* http://cbizz.net *//





More information about the thelist mailing list