javascript - How to change the span display style, while changing the innerHTML of that span -


<span id="spnref" style="display:none"></span> 

i want make span visible now. how can change span display style, while changing innerhtml of span?

document.getelementbyid("spnref").style.display = "block"; 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -