[jQuery] Re: Hiding Table Columns

2009-05-12 Thread David Blomstrom
Thanks for the tip. As far as I know, there's no way to apply a class or ID to an entire column, so I'd have to apply it to every cell in a particular column, right? Next, how do I enable the visitor to invoke the hide function? For example, if a visitor is viewing a table with ten columns, and he

[jQuery] Re: Hiding Table Columns

2009-05-12 Thread waseem sabjee
$("#myid").hide(); $(".myclass").hide(); $("td").eq().hide(); $("tr").eq().hide(); note if you say $("tr)".eq(0).hide(); it will completely hide the first tr that appears in your code if you say $("tr").eq(0).remove(); it will completely remove the first tr in your code from the DOM meaning they