title: Uncaught Error: Syntax error, unrecognized expression: #
body: <p>I am trying to obtain a cell's text value from a flexigrid.
  However I keep getting that error.</p>
  
  <p>This is my function for retrieving a specific cell's text(Flexigrid doesnt have "attr" it has "abbr" instead).</p>
  
  <pre><code>function getSelectedCopyDates() {
      var arr = new Array();
      debugger;
      //for every row that has a checked checkbox
      $("tr").has(".noteCheckBox:checked").each(function(i) {
          if ($(this.id) !== "checkAllNotes") {
              //push the value of column(FName, LName) into the array 
              arr.push($("#" + this.id + "&gt; td[abbr='EventDate'] &gt; div").text());
          }
      });
      return arr;
  }
  </code></pre>
  
  <p>I only get that error when I click on "checkAllNotes"(main check box ). If I check a checkbox manually then everything works fine.</p>
  
  <p>Here is my flexigrid layout:</p>
  
  <pre><code>$('#viewNotesGrid').flexigrid({
      url: url,
      dataType: 'json',
      method: 'get',
      colModel: [{
          display: '&lt;input type="checkbox" class="noteCheckBox" id="checkAllNotes" /&gt;',
          name: 'checkBox',
          width: 20,
          sortable: false,
          align: 'center',
          process: showDescription
      }, {
          display: 'Date',
          name: 'EventDate',
          width: 80,
          sortable: true,
          align: 'center',
          process: showDescription
      },
  </code></pre>