gjshah7254
6/2/2016 - 10:05 PM

Toggle (Hide/Show) divs on click

Toggle (Hide/Show) divs on click

$(".js-report-abuse-link").on("click", function (event) {
            var $container = $(this).parent().parent();
            if (!$container.hasClass("-is-active")) {
                $container.addClass('-is-active');
            } else {
                $container.removeClass('-is-active');
            }
        });