function DeleteData(ID) { var ctrlId=ID.id; var divcontents=document.getElementById(ctrlId).innerHTML; var tabid=ctrlId.replace(/div/,\'tab\'); var tabcontents=
I had the same issue but my error was because I was inserting a p tag directly underneath a p element as in:
p
document.getElementById('p-element').innerHTML = 'some description';
some description
I don't really see how this is HTML format error; seems more like another IE8 bug.