html hide a div code example
Example 1: how to hide div in html
document.getElementById('elementName').hide();
Example 2: hide div elment
document.getElementById("payment_period").style.display = "none";
document.getElementById('elementName').hide();
document.getElementById("payment_period").style.display = "none";