[jQuery] Re: Show/Hide Toggle Table

2009-01-10 Thread seasoup
Also, instead of writing a different jQuery command for each thing you want to hide, if you write the html consistently, which it looks like you are doing through loops, then you can do something like: $('tr.task_header').next().click( function() { $(this).toggle(); } Which isn't the exact co

[jQuery] Re: Show/Hide Toggle Table

2009-01-10 Thread cherry.aus...@gmail.com
cool :) On Jan 10, 10:55 pm, mark wrote: > You were spot on. Thanks for your help! > > On Jan 11, 8:17 am, "cherry.aus...@gmail.com" > > wrote: > > Hi. I confess I didn't read your code very thoroughly, but it looks > > like it might be as simple as repeated IDs. You can only have one > > insta

[jQuery] Re: Show/Hide Toggle Table

2009-01-10 Thread nood
Have you checked this works in all browsers? I've tried something similar with hiding table cells before and it didn't work across the board. On Jan 10, 1:06 pm, mark wrote: > Hey Guys, I'm new to jquery, and haven't much experience with > javascript. I'm trying to toggle a few rows on a table w

[jQuery] Re: Show/Hide Toggle Table

2009-01-10 Thread mark
You were spot on. Thanks for your help! On Jan 11, 8:17 am, "cherry.aus...@gmail.com" wrote: > Hi. I confess I didn't read your code very thoroughly, but it looks > like it might be as simple as repeated IDs. You can only have one > instance of each ID per page. Try changing it to a class (or ad

[jQuery] Re: Show/Hide Toggle Table

2009-01-10 Thread cherry.aus...@gmail.com
Hi. I confess I didn't read your code very thoroughly, but it looks like it might be as simple as repeated IDs. You can only have one instance of each ID per page. Try changing it to a class (or adding an iterator to each ID). Sorry if this isn't the right answer? Cherry. On Jan 10, 1:06 pm, mar