title: Can you select an element with two classes in jQuery
body: <p>I have an element that has two classes but can't seem to select it with jQuery.
  Is it possible.
  Here's the code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head runat="server"&gt;
      &lt;script type="text/javascript" src="abc/scripts/jquery-1.4.2.min.js"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript"&gt;
  
        $(document).ready(function() {
          alert($(".x.y").html()); //shows null, I want it to show "456"
        });
  
      &lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;div class="x" class"y"&gt;456&lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>