/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function showhide(e) { var el = document.getElementById(e); el.style.display = el.style.display == "block" ? "none" : "block"; }