$(".trigger").click(function () {
$(this).next(".toggle").slideToggle("fast");
$(this).toggleClass("active");
return false
});
HTML:
<input type="checkbox" class="trigger">
<div class="toggle">content</div>
It isn t working, whats wrong with the code?
Thanks