5
I’m trying to make parole with display: block;
and display: none;
but JS is not bringing the value of my element’s css display #slide
.
What’s the matter?
var slider = document.getElementById('slide');
if(slider.style.display == 'block'){
alert('teste');
}
You can add the/a snippet of html?
– Onilton Maciel