html - How do I change the text of a span element using JavaScript?

preview_player
Показать описание
#short
#javascript
#html
If I have a span, say:
span id="myspan" hereismytext /span

How do I use JavaScript to change "hereismytext" to "newtext"?