title: Uncaught TypeError: Cannot read property 'contains' of null in Google Chrome 's Console
body: <p>I used that <strong>jquery-1.9.1.min.js</strong> and <strong>bootstrap-table</strong>,that code is:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    function operationFormatter(value,row) {
              var  bt = "&lt;button class='btn btn-info' 
              onclick='open(\""+value+"\")' &gt;show&lt;/button&gt;";
              console.log(value)
              if(row.isopen==1){
                  bt = "&lt;button class='btn btn-danger' onclick='close(\""+value+"\")' &gt;hiddeen&lt;/button&gt;";
              }
              console.log(bt);
              return bt;
          }
  
    function open(id) {
          alert(id);
          $.ajax({
              type: "POST",
              async: false,
              cache: false,
              url: '${ctx}/backstage/openUserQuestion?id='+id,
              success: function (data) {
                  if (data == 1) {
                      $('#questionErrorList').bootstrapTable('remove', {
                          field: 'id',
                          values: [parseInt(id)]
                      });
                  }
              }
          });
      }</code></pre>
  </div>
  </div>
  </p>
  
  <p>that stateFormatter is the bootstrap-table's columns[].formatter</p>