qForms has some online examples that could be changed around to apply to this.
On 11/7/06, James Smith <[EMAIL PROTECTED]> wrote: > > I need to fill a secondary and tertiary select box depending on the > condition of a primary one. > > For example the first will have the options... > > -- SELECT -- > Ford > Jeep > > The second and third will have "-- Please select previous cat -- " or > something similar and nothing else. > > With an onChange() on the first this should populate the second select > with... > > -- SELECT -- > Ka > Fiesta > Focus > > If ford is selected from the fist box and leave the third unchanged. The > third should then change to... > > -- SELECT -- > 2 door > 4 door > > For example, once the second box is changed. > > Ideally I want all of the data sent to the browser on the initial page > load > (IE: no ajax or other multiple request method), probably into an array but > any implementation is fine. The actual data in the boxes will come from a > DB query so the JS must be suitable for dynamic construction. > > Anyone have any suitable script handy? > > -- > Jay > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259437 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4