title: How do I select elements on multiple attribute values
body: <p>With jQuery, it is easy to select elements with a given attribute value.</p>
  
  <p>For example:</p>
  
  <pre><code>var elements = $('div[attr1="value1"]');
  </code></pre>
  
  <p>But how do I select on multiple attributes (e.g., <code>attr1 = value1</code> <strong><em>and</em></strong> <code>attr2 = value2</code>)?</p>