Never been to TextSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
About this user
Brent http://brentg.org
Toggle Show/Hide
var u = document.getElementById(ul_id);
if(u.className == "hiddenAnswer") {
u.className = null;
} else {
u.className = "hiddenAnswer";
}
}
// then create a css class like so...
.hiddenAnswer {
display: none;
}