Get help. Give help. A Web Design and Development Community.

Opposite of .parent() in jQuery

  • # August 24, 2009 at 12:50 pm


    This might sound completely stupid but i cannot remember if there is a way to get an element inside of another eg:


    So you click the clickable tabe and the one inside will open/close


    # August 24, 2009 at 2:27 pm

    $("p.clickable").click(function() {

    $(this).children(".toMove").animate(blar blar);


    Something like that would prob set you on the right path…

    # August 26, 2009 at 11:47 am

    you can also use .find()

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.