title: IE9 set innerHTML of textarea with html tags
body: <p>I have this field </p>
  
  <p>In IE9 the following line gives me the error 'SCRIPT601: Unknown runtime error '
  //option 1.
  document.getElementById('code').innerHTML = 'some text';</p>
  
  <p>The error disappears and it seems to work (assiging empty value) when I change the line to:
  //option 2.
  document.getElementById('code').innerHTML = '';</p>
  
  <p>The I tried this:
  //option 3.
  document.getElementById('code').innerHTML = escape('some text');</p>
  
  <p>but then the HTML gets to be escaped and thats not what I want, I want this exact string to be placed in the textbox.</p>
  
  <p>In Chrome and Firefox the code in option 1 does run correctly.</p>
  
  <p>What can I do to fix this?</p>