title: Uncaught SyntaxError: Unexpected string
body: <p>I'm having difficulty getting the following to work, all I get from Chrome's Console is:</p>
  <blockquote>
  <p>Uncaught SyntaxError: Unexpected string.</p>
  </blockquote>
  <p>I have tried <code>tmp = event.keyCode</code> and changing <code>tmp</code> in the <code>if</code> statement to <code>event.keyCode</code> but I cannot identify the problem.</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 showSearching() {
      alert ("Hello World");
  }
  
  $('#search').bind('keydown', function() {
      tmp = Number(event.keyCode);
      if ( ( tmp=&lt;"48" &amp;&amp; tmp=&gt;"90" ) || ( tmp=&lt;"96" &amp;&amp; tmp=&gt;"111" ) || ( tmp=&lt;"186" &amp;&amp; tmp=&gt;"222" ) ) {
          showSearching();
      }    
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;input id="search" type="text"&gt;</code></pre>
  </div>
  </div>
  </p>