Skip to content

How do you select children with chibli? #12

@sciascia

Description

@sciascia

Sorry if this is easy but is there a trick to searching all the children of an element?

Was trying:

$('#dropdown-main .dropdown').toggle();
$('#dropdown-main > .dropdown').toggle();
$('#dropdown-main > ul > li .dropdown').toggle();
$('#dropdown-main > ul > li > .dropdown').toggle();
$($('#dropdown-cart').find('.dropdown')).toggle();

.dropdown is not a direct descendant of #dropdown-main - any pointers in the right direction would be much appreciated.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions