lewisb87 — 2010-05-08T15:41:40-04:00 — #1
I want to use the document.getElementByID method to change the text of an element.
It works and replaces the old text but the new text is lower down when I want the new text to be on the same line.
raffles — 2010-05-08T16:18:18-04:00 — #2
It's impossible to tell what the problem is from that description. Post some code and then we might get a bit further.
My guess is that you're not replacing the text node itself but the entire element, but we'll have to see.