title: Textarea conflict between CodeMirror and Bootstrap 2.3
body: <p>I am trying to use CodeMirror for syntax highlighting in a textarea. I am also using Bootstrap 2.3 for the textarea. I get the code in the textarea displayed by Bootstrap, but instead of the syntax highlighting in CodeMirror I get this error in the Chrome console: </p>
  
  <p>Uncaught TypeError: Cannot set property 'display' of undefined.</p>
  
  <p>This is the Javascript I use for the given form, the object is null.</p>
  
  <pre><code>var myCodeMirror = CodeMirror.fromTextArea($('#formId'), {
      mode: {name: "python",
             version: 2,
             singleLineStringErrors: false},
      lineNumbers: true,
      //indentUnit: 4,
      smartIndent: true,
      tabSize: 2,
      indentWithTabs: true,
      tabMode: "shift",
      autofocus: true,
      matchBrackets: true
    });
  </code></pre>