chiliNUT
0
Q:

hide div elment

document.getElementById('elementName').hide();
3
document.getElementById("payment_period").style.display = "none";
1
<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");
1

New to Communities?

Join the community