title: jQuery contentEditable not working - Internet Explorer 8 - edit table items
body: <p>I need to get this code working in Internet Explorer 8:</p>
  
  <p><a href="http://jsfiddle.net/tYtQV/5/" rel="nofollow">http://jsfiddle.net/tYtQV/5/</a></p>
  
  <pre><code>$("tbody tr td").bind("click", onClick);
  
  function onClick(e) {
      if(e.currentTarget.contentEditable != null)
      {
              $(e.currentTarget).attr("contentEditable",true);
      }
      else
      {
              $(e.currentTarget).append("&lt;input type='text'&gt;");
      }
  }
  </code></pre>
  
  <p>It works fine in Firefox or Chrome but not in IE8.</p>
  
  <p>I tried changing bind() to live() but that doesnt have any effect - when I click on the list item it just doesnt do anything (the event handler is called, though)</p>
  
  <p>If I change contentEditable to all lowercase "contenteditable" it appends text forms to the element every time it is clicked, which is not what I want. </p>
  
  <p>The purpose of this code is to make table items editable. Any ideas on how to fix this?</p>
  
  <p>Thanks in advance!</p>