document.getElementById("Body").innerHTML=tmpHTML;
the tmpHTML variable contains some valid HTML and the Body tag was a span tag.
When looking into the problem some more I found that it is an IE bug so when I changed the tag from span to div, everything worked again.
Hope that this might help someone else so you don't have to investigate alot.
Inga kommentarer:
Skicka en kommentar