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
Post a Comment