When there is a db query involved I generally just populate the option tags
using something like this:

<select  blah blah>
 <option selected>Choose One
  <cfoutput query=blah>
    <option value=#somevalue#>#some label#</option>
  </cfoutput>
</select>

OR

you can use the cfselect.

Shane Witbeck


-----Original Message-----
From: Eli Shechter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 5:45 PM
To: CF-Talk
Subject: dynamic drop down boxes


Hi

does anyone know the best way to dynamically populate drop down boxes?
is there a way to do it with coldfusion or do i have to use javascript?
and where can i find some examples

Thanx
-Eli-
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to