Return to Snippet

Revision: 53034
at November 10, 2011 16:41 by melomano


Initial Code
function toggleShowHide(id) {
	var e = document.getElementById(id);
	if (e.style.display === "block") {
		e.style.display = "none";
	} else {
		e.style.display = "block";
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Toggle Show/Hide

Initial Tags

                                

Initial Language
JavaScript