Show Hide in Javascript
simple show/hide function in js that needs mostly every webmaster// old classic
function showhide(e) {
el = document.getElementById(e);
el.style.display = el.style.display == "block" ? "none" : "block";
}
// if you have prototype.js
$(e).toggle();
zobrazení: