title: Attribute equals selector not working ("input[name='name']")
body: <p>I am trying to implement this kind of jQuery selector to my code, but it's not working for some reason I don't understand. This is similar to the <a href="http://api.jquery.com/attribute-equals-selector/" rel="nofollow">jQuery example here</a>.</p>
  
  <pre><code>&lt;input type="text" name="name" class="orderDetails" /&gt;
  </code></pre>
  
  <p>and the query is:</p>
  
  <pre><code>var nameFieldContent = $('.orderDetails input[name="name"]');
  console.log(nameFieldContent);
  </code></pre>
  
  <p>console.log doesn't show any matching elements.</p>