I am using spry to display subcategories based on a selected category in a drop down. I need a way to display this div <div>There were no subcategories found for the selected category</div> when there was no subcategories found and then if there were to display the div below. So far it works fine when there are subcategories found. <div id="scats" spry:region="dsSubcats" style="margin-left:10px; height:100px; width:200px; overflow:auto; border:1px solid ##000000; float:left; background-color:##efefef;"> <strong>Select Subcategories:</strong> <ul class="createAccountForm"> <li style="line-height:18px; " spry:repeat="dsSubcats"> <input type="checkbox" name="Subcategory" value="{CATEGORYID}" {CHECKED} />{ds_RowNumber} {CATEGORYNAME} </li> </ul> </div>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:276097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4