Sometimes I won't know the number though. The td:last works perfectly. _____
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rob Desbois Sent: Tuesday, August 07, 2007 10:12 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Toggle visibility on an entire table column? Andy, For future reference in case you need it on a different column - the :nth-child(n) selector will do a similar thing for the nth column (n is 1-based, not 0-based though). --rob On 8/7/07, Andy Matthews <[EMAIL PROTECTED]> wrote: Right on! That's exactly what I want to do. Thanks Glenn! _____ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Tuesday, August 07, 2007 9:45 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Toggle visibility on an entire table column? I had an existing demo that was really close to that. I modified it here. http://www.commadot.com/jquery/selectors/lastTD.htm The answer I have is td:last in an each. Glen On 8/7/07, Andy Matthews <[EMAIL PROTECTED]> wrote: I haven't tried this yet but is it as simple as assigning some sort of selector and show'hide -ing the resulting query object? It will be the LAST td in each row, is there a "last child" selector or would it be best to just assign a class to each td? I just want to be able to toggle visibility on one entire column. ____________________________________ Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com <http://www.dealerskins.com/> -- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.
<<dealerskinslogo.bmp>>