I am using cf to dynamically store variables in a select box by hiding them
in the id ( I have my reasons) So the code looks something like this:

<select name="SELECT1" value="" validate="yes"  >
        <option id="test1" value="1" label="test4">Once</option>
        <option id="test2" value="2" label="test5">Twice</option>
        <option id="test3" value="3" label="test6">Thrice</option>
</select>

This is working great, but one of my coworkers has some code that ties into
mine that looks like this:

theForm.foo.options[theForm.foo.options.length] = new Option("Quatro", "4",
false, false);

Is there some way that I can take a value from a cf_query and pass it into
the "id" parameter that the option constructor requires?

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to