Firefox innerHTML Bug?
Posted
by M. Singleton
on Stack Overflow
See other posts from Stack Overflow
or by M. Singleton
Published on 2010-05-31T00:26:03Z
Indexed on
2010/05/31
0:32 UTC
Read the original article
Hit count: 556
I have a simple piece of HTML
<p id="skills">Skills</p>
in Firefox 3.6.3 when I call (with JQuery):
$("#skills")[0].innerHTML = "some new text"
Firefox renders it as
<p id="skills"><a xmlns="http://www.w3.org/1999/xhtml">some new text</a></p>
Where in the world is that link coming from??
(note the same thing happens by calling $("#skills").html("some new text")
with JQuery)
© Stack Overflow or respective owner