for this code
#element {
display : block
}
<div id="element"></div>
how can I write javascript code like
// button on click
if(element-display = block){
// change it to display = none
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…