Reputation: 10049
I am sure there must be an easier way that doing this:
foo.innerHTML +="<br>";
The above is producing dirty results as there is a textbox in the SPAN and the data from that textbox gets wiped away when using innerHTML.
I am trying to "re-learn" JS so forgive me if the question is too noobish.
Upvotes: 0
Views: 128