hide a pic from phpa div php code example Example: hide div elment document.getElementById("payment_period").style.display = "none";