remove ="true" and it should work.

Andrew.

>Ok I've spent that last 2 hours tearing my hair out trying to figure out
>what was wrong in my code. When I come to the realization to test it in IE
>and bam it works. I have a dynamically generated Select drop down that
>marked the option tag selected that is the value I want. Firefox is ignoring
>the selected attribute but IE picks it up just fine. Has anyone else run
>into this problem before?
>
> 
>
><cfoutput>
>
><cfset xID = 3>
>
><select name="groupID">
>
><cfloop query="myquery_1">
>
><option value="#ID#" <cfif ID EQ
>ID>selected="true"</cfif>>#Description#</option>
>
></cfloop>
>
></select>
>
></cfoutput>
>
> 
>
>BTW I've tried it several ways:
>
><option value="#ID#" <cfif ID EQ
>ID>selected="selected"</cfif>>#Description#</option>
>
><option value="#ID#" <cfif ID EQ
>ID>selected="true"</cfif>>#Description#</option>
>
><option value="#ID#" <cfif ID EQ ID>selected</cfif>>#Description#</option>
>
> 
>
>None of the above worked in FireFox but all of them worked in IE. I've
>googled my brains out but every were I've seen people post about this, there
>is never a solution.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282336
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to