Return to Snippet

Revision: 49724
at July 28, 2011 17:31 by a1ias


Initial Code
function showhide(e) {
	var el = document.getElementById(e);
	el.style.display = el.style.display == "block" ? "none" : "block";
}

Initial URL

                                

Initial Description

                                

Initial Title
Show/Hide element using Javascript

Initial Tags

                                

Initial Language
JavaScript