title: JQuery variable as ID results in Uncaught Error: Syntax error, unrecognized expression: '#cell32'
body: <p>I have the following code:</p>
  
  <pre><code>var currentRow = this.id.charAt(4);
  var testRow = Number(currentRow) - 1;
  var testCellId = "'#cell" + currentRow + testRow +"'";
  var testCell = $(testCellId).get(0);
  </code></pre>
  
  <p>It results in the error:
  "Uncaught Error: Syntax error, unrecognized expression: '#cell32'"</p>
  
  <p>If I use the variable value, <code>#cell32</code>, instead of the variable:</p>
  
  <pre><code>var testCell = $('#cell32').get(0);
  </code></pre>
  
  <p>There is no error. </p>
  
  <p>I have also checked with console.log(testCellId) and the variable does contain the correct value.</p>
  
  <p>What am I missing?</p>