0
I’m trying to create an if so that if one div is visible, another one will disappear (in a wordpress template):
jQuery(document).ready(function($){
if($('.classe1').is(':visible'){
$('.classe2').hide();
}
});
But you’re not being recognized, what can I do?
some error message on console?
– Marco Aurélio Deleu
Voting to close as "typo" because of the answer.
– brasofilo