windows combo box element without the ability to type in....
tony
-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 2:49 PM
To: CF-Talk
Subject: Display images inside a form select tag
Hi all,
I have a query which populates a loop of options in a form select box.
Problem is, I want to display small dynamic images next to each option
(using the <img> tag). I've tried the following code without success (the
text list items display as intended). Any ideas?
********************
<cfset REQUEST.webroot = "http://www.somesite.com">
<form ACTION="" METHOD="POST" Name="form1"> <select
name="colorAdvantageID">
<cfloop query="qColorAdvantage">
<cfoutput>
<option
value="#colorAdvantageID#">#colorAdvantageID# - #colorAdvantageNam
e# <img
src=""> /></option>
</cfoutput>
</cfloop>
</select>
<input type="Submit" value="Get Samples!"> </form>
********************
Thanks, Mark
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]