<div id="dv">hello world</div>
<input type="button" value="show/hide" onclick="if (dv.style.display == 'none') dv.style.display='';else dv.style.display = 'none';">or<div id="dv2">hello China</div>
<input type="button" value="show/hide" onclick="if (dv2.style.visibility == 'hidden') dv2.style.visibility='visible';else dv2.style.visibility = 'hidden';">