Explorer throws an unknown error when you set innerHTML
The bug seems to only occur for certain markup. I’m not 100% sure what the defining problem is, except that markup containing block elements like <div>
and <p>
seem to invoke the error. Anyway, this drove me up the wall recently so I thought I’d share the work around I came up with.