[jQuery] Re: $(this) is powerful, but is it a member of the family?

2008-07-25 Thread GasGiant
Yes! I was testing next() just as you replied. Thanks, it works. I can now grab a group of ID elements (hid1, hid2, ...) and fire the toggle on just the one that is clicked. Sweet. $('[EMAIL PROTECTED]').click(function() { $(this).next().toggle(); r

[jQuery] Re: $(this) is powerful, but is it a member of the family?

2008-07-25 Thread Dan G. Switzer, II
>I have two jQuery books and scant coverage of $(this) between them. I >need to know if $(this) has parents, children and siblings, and if so >how to access them. Here's why... > >I have a page with six one-line forms on it. I put the forms in divs >and hide the divs on page load based on the clas