Categories
Etc

InnerHTML + P = IE Bug

Just discovered that if you try to assign to the innerHTML property of a <p> tag in Internet Explorer 6, IE bombs out. If you change it to a <div>, it works just fine. Either a p or a div works great in Firefox. Check out my sample to see if you see the same behavior. Clicking on the link should load some HTML and shove it into the p (on top) and the div (on the bottom).

What do you see?

Advertisements