Snippet

Élément de masque HTML

6 réponses de la communauté

.classname {
    visibility: hidden;
}
document.getElementById('elementId').style.display = "none";
<div id="main"> 
  <p> Hide/show this div </p>
</div>

('#main').hide(); //to hide

// 2nd way, by injecting css using jquery
$("#main").css("display", "none");
#elementID{
display:none;
}
document.getElementById('elementName').hide();
document.getElementById("payment_period").style.display = "none";