If I have a span, say:
hereismytext
How do I use JavaScript to change "hereism
(function ($) { $(document).ready(function(){ $("#myspan").text("This is span"); }); }(jQuery));
user text() to change span text.
text()