This was a strange one.


<a name="questions">
<div class="questions">


Element.insert("questions", { bottom : "<div>Test</div>" })

With that setup, IE compains and says "Invalid source HTML for this operation". It turns out that prototype was trying to put the div into the a tag. I guess I can see how it happened, but I sure didn't expect it.

Anyway I removed the a tag completely and everything works fine. Weird.

blog comments powered by Disqus