Hi all, for this website
Brandfield all I want is the div with class "brandContainer" to lose the class ".laatZien" (which will return the div to its initial state and sets it to display:none)
This must happen when someone clicks anywhere on the page, IF the div with class .brandcontainer has the class .laatZien
It only receives this class .laatZien after another div gets clicked...
I tried this:
Code:
$(document).on("click", function(e) {
if ($(".brandContainer").removeClass('laatZien')){
$(".brandContainer").removeClass('laatZien');
}
});
but it's not working and its driving me nuts :(
I hope someone can help...
Greets
برچسب:
نویسنده: آیلین رضوانی
تاريخ: شنبه
3 تير
1396 ساعت: 1:28