DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
change text of span js html
document.getElementById("myspan").textContent="newtext";
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#change
#text
#span
#js
#html
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit