This should be easy, but I'm stumped on this. I can't find examples
showing cases where the find 'skips ahead' .. what I want to is find
the next <div> after any of the radio inputs is clicked so that if I
have...

<div>
    <p><input type="radio" name="color" value="blue"/> Blue</p>
    <p><input type="radio" name="color" value="green"/> Green</p>
    <p><input type="radio" name="color" value="red"/> Red</p>

        <div class="childSec">
                Stuff
        </div>
</div>

$(":[EMAIL PROTECTED]'color']").click( function () {
    $(this).parent().parent().find('div.childSec')  //must be
something better than parent, parent?
});

I've been trying different selectors for 'div' inside of parent and
prev but not having much luck. I'm sure I'm missing something stupid.
Any help appreciated.

Reply via email to