timwhitlock.info

Search
Skip to content
  • Me
  • Loco

Daily Archives: Nov 12, 2008

General

IE innerHTML bug

Nov 12, 2008 By Tim Whitlock

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.

Continue reading…

bugDHTMLDOMHTMLJavaScriptJScriptMicrosoft Internet ExplorerMSIE

Tim Whitlock's personal site and blog

Other profiles

  • Link me
  • Tweet me
  • Fork me

Recent Blog Posts

  • Storing personal data with free cloud providers May 29, 2018
  • Data Processing Addendums May 27, 2018
  • The state of messaging Mar 7, 2018
© Tim Whitlock 2008-2026