Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js set span content

var span = document.getElementById("customSpan");
span.textContent = "some text";
 
PREVIOUS NEXT
Tagged: #js #set #span #content
ADD COMMENT
Topic
Name
9+5 =