I\'m wondering if there\'s a way to change the text of anything in HTML without using innerHTML.
Reason I\'m asking is because it\'s kinda frowned upon by the W3C. I
You could use DOM as follows:
before
But I think anyone rarely do this but use a framework like jQuery or Prototype or any other javascript framework out there instead. This is jquery example: