title: jQuery: dealing with a space in the id attribute
body: <p>I have an  element with id="A B". The following code <strong>fails</strong>:</p>
  
  <pre><code>&lt;input type="text" id="A B"&gt;
  &lt;script&gt;$("#A B").click(function(){alert();});&lt;/script&gt;
  </code></pre>
  
  <p>The following code <strong>does not fail</strong>:</p>
  
  <pre><code>&lt;input type="text" id="AB"&gt;
  &lt;script&gt;$("#AB").click(function(){alert();});&lt;/script&gt;
  </code></pre>