samedi 29 novembre 2014

How to show/hide a span using javascript


Can someone show a way to show/hide a span using javascript



document.getElementById("test").style.display= 'visible';
document.getElementById("test").style.display= 'block';


In the HTML Code



<span id='test' ..


How can I overcome this problem, Is there any thing that I should thing about ?





Aucun commentaire:

Enregistrer un commentaire