If I have a span, say:
hereismytext
How do I use JavaScript to change "hereism
You can do
document.querySelector("[Span]").textContent = "content_to_display";