Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-10 Thread Doug James
Take a look into XMLHTTPRequest http://www.google.com/search?q=xmlhttprequest it will allow you to send a request to a page after the first drop down is selected without having to do a page refresh. Just a thought. Doug Discover Antartica wrote: I want to display the data in two select

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-10 Thread J M
I've done something similar using JavaScript on our site for lists of makes models of cars. The first box displays a list of makes, and depending on the make selected, the second displays all the models for that make. That list is huge, but here's an abbreviated version using a few makes:

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-10 Thread Adam Haskell
That does not work on some browsers most notably Opera, i beleive. So be careful of this if you want cross browser support. Alternatively you could use a hidden iframe as an alternative which is what we use in some instances.We also use assosiative arrays in javascript. Adam H On Thu, 10 Feb

RE: how to display data in two select boxes where the second one's display depends on the first one

2005-02-10 Thread Dave Merrill
The fastest js-based method that I'm aware of is to have cf generate the html for each set of options as js variables, then just set select2.innerHTML to the one you want to use. Particularly efficient if there are a bunch of options to set, since you don't have to iterate through each one every

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-10 Thread Adam Haskell
THis is slightly how one of the custome tags on dev exchange works if I recall. One caution though, and this may or may not be a concern, this method is bandwidth intense, as opposed to other methods. Normally I wouldn't make a point of it except in my work place bandwidth is a BIG concern and

RE: how to display data in two select boxes where the second one's display depends on the first one

2005-02-10 Thread Micha Schopman
innerHTML should be (in a perfect world) replaced by the dom methods, but is still the fastest method to draw element on the browser canvas. It has it's opposites however when drawing IMG elements, or any element containing images. You might cause a denial of service attack on the browser, but

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-10 Thread Rick Mason
The most bulletproof way to do this is to use QForms client server gateway available here: http://www.pengoworks.com/workshop/js/gateway/ I have found that it is a lot better than the old twoselectsrelated tag. However if you're using CF-7 I believe you can create it directly. Rick Mason

RE: how to display data in two select boxes where the second one's display depends on the first one

2005-02-09 Thread Adkins, Randy
Look for TwoSelectsRelated tag in the Exchange I have used it in the past along with ThreeSelectsRelated -Original Message- From: Discover Antartica [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 4:27 PM To: CF-Talk Subject: how to display data in two select boxes where

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-09 Thread Ron Gowen
cfquery name=veegan datasource=fuz SELECT category.category, fruit_veggie.name FROM category INNER JOIN fruit_veggie ON category.categoryID = fruit_veggie.categoryID /cfquery cfquery name=cat datasource=fuz SELECT

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-09 Thread Adam Haskell
if you look on the dev exchange on MMs website there are a few custom tags...are you looking for an MX or MX 7 solution though? That could change the situation greatly :) Adam H On Wed, 9 Feb 2005 13:26:39 -0800 (PST), Discover Antartica [EMAIL PROTECTED] wrote: I want to display the data in

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-09 Thread Discover Antartica
MX. Just installed MX 7 on another machine though. Will the solution to MX not work on MX 7? Adam Haskell [EMAIL PROTECTED] wrote:if you look on the dev exchange on MMs website there are a few custom tags...are you looking for an MX or MX 7 solution though? That could change the situation

Re: how to display data in two select boxes where the second one's display depends on the first one

2005-02-09 Thread Adam Haskell
its more along the lines that in MX 7 you have some advanced functionality with flash forms and and the ability to do some stuff with actionscript. Adam H On Wed, 9 Feb 2005 13:47:15 -0800 (PST), Discover Antartica [EMAIL PROTECTED] wrote: MX. Just installed MX 7 on another machine though.