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

c# - Where does the .ToList() go in LINQ query result -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -