How to hide HTML span element with JavaScript

1 Answer

0 votes
<span id="spanid">Your text here</span>
document.getElementById("spanid").style.visibility = "hidden";

 



answered Jun 22, 2018 by avibootz

Related questions

2 answers 425 views
1 answer 270 views
1 answer 337 views
1 answer 309 views
2 answers 426 views
...