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#&nbsp;-&nbsp;#colorAdvantageNam
e#&nbsp;&nbsp;&nbsp;<img
src=""> /></option>
</cfoutput>
</cfloop>

</select>
<input type="Submit" value="Get Samples!">
</form>
********************
Thanks, Mark
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to