I'd like to check if there is any Element with the Classname settingsBox is visible.
I created this function, but it doesn't work:
function noOptionsOpen(){
$(".settingsBox").each(function (){
if ($(this).is(":visible")) return false;
})
return true;
}
I guess, the inner Function returns fals if ther is anything visible with that classname, but after jumping out of it, it still always return true, right? I just don't know how i can fix that?