title: Error when removing contentEditable attribute using JQuery in FF and Opera, works in Chrome
body: <p>I have problem with this piece of code:</p>
  
  <pre><code>var el = $('div#editor');
  el.find('*[contentEditable]').removeAttr('contentEditable');
  </code></pre>
  
  <p>It works great in Chrome 4/5/6, but it doesn't work in FF (3.6.) or Opera (10.60).</p>
  
  <p>In FF it throws this exception:</p>
  
  <p>Error: uncaught exception: [Exception... "An invalid or illegal string was specified"  code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"  location: "<a href="http://www.www.com/js/script.js" rel="nofollow noreferrer">http://www.www.com/js/script.js</a> Line: 51"]</p>
  
  <p>Does anybody have an idea why this is happening and how to fix it ?</p>
  
  <p>Right now I am using this fix, but it's not clean solution, because it leaves contentEditable attribute and I have to clean it up on server side:</p>
  
  <pre><code>try {  
    el.find('*[contentEditable]').removeAttr('contentEditable');
  } catch (e) {
    el.find('*[contentEditable]').attr('contentEditable', false);
  }
  </code></pre>