just to simplify...

<cffunction name="getRecursiveOptions" hint="Returns a string containing the 
option tags for an option list from a recursive query search" 
returntype="string" 
output="false" access="public">
    
<cfscript>
var strOut = "<option value=""[id]""<cfif this.parent_id EQ [id]> 
selected</cfif>>[dsp]</option>";

return strOut;
</cfscript>
</cffunction>

when i view the source code on the display page it appears like...

<option value="4"<cfif this.parent_id EQ 4> selected</cfif>>Category 2</option>

so it is not actually recognising the cfif bit ???

what am i not doing!!

mike




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289276
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