Miscellany
public text v1 · immutable<script type='text/javascript'>
function my_func(){
var soh = getElementById('soh');
var mytxt = getElementById('my_text');
var prs = 0;
if (soh.style.display == "none" && prs == 0){
prs = 1;
soh.style.display = "inline";
mytxt.value = "HIDE LOL";
}else if (soh.style.display == "inline" && prs == 0){
prs = 1;
soh.style.display = "none";
mytxt.value = "SHOW LOL";
}
}
</script>
<div id='cont'>
CONTENT LOL
</div>
<a href='javascript:my_func();' id='my_text'>SHOW LOL</a>