Eric. I've tried to do showing and hiding table rows with jQuery before and
it's not that great. It has to do with the way JavaScript considers TR tags
and all. Try taking a look at this example I wrote for Psychic Sales a long
time ago:

http://andymatthews.net/code/tablefilter/

-----Original Message-----
From: Eric Cobb [mailto:cft...@ecartech.com] 
Sent: Friday, November 13, 2009 12:48 PM
To: cf-talk
Subject: Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in
IE!


I'm not sure if you guys are following what I'm trying to do....

I want to dynamically hide/display certain table rows when a checkbox is
selected/deselected.

-- 

Thanks,

Eric Cobb
http://www.cfgears.com



Charlie Griefer wrote:
> Preference.
>
> Some people would prefer to not introduce the extra CFML markup into 
> the HTML markup.
>
> The jQuery lets you manipulate the HTML without actually modifying the 
> HTML.  That's nice.
> The CF method will work even if the user has JS disabled.  That's nice.
>
> Neither is "right" or "wrong".
>
> On Fri, Nov 13, 2009 at 9:29 AM, Nicholas Stein
<nicholasst...@cox.net>wrote:
>
>   
>> Maybe I am missing something.  Why not just to it this way...
>> <cfset rNum = 0>
>> <cfoutput query="searchresults">
>> <cfset rNum = rNum + 1>
>> <tr<cfif rNum MOD 2 EQ 0> class="alternaterow"</cfif>> ...display 
>> <td></td> </tr> </cfoutput>
>>
>> Nick
>>
>>
>>     
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to