i wish to display the 3
when i click on the
and it hides the
which are not children of that particular
- Home
- Link1
- Link1
- Link1
- Products
- Link2
- Link2
- Link2
- Downloads
- Link3
- Link3
- Link3
- Services
- Link4
- Link4
- Link4
- About Us
- Link5
- Link5
- Link5
but it only shows only one dd
when i click on
how do i display the remaining
while hiding those
which arent children of the
i had clicked on
here is the code
$("dt").on({
click:function () {
$(this).next("dd").slideDown(500).siblings("dd").hide();
},
})