Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Opposite of .parent() in jQuery

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25857
    bor003
    Member

    Hi,

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

    Code:

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

    Regards

    #62660
    Rob MacKay
    Participant

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

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

    });

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

    #62765
    Mr KiTT3N
    Member

    you can also use .find()

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.