title: How to find <script> elements with particular value of "type" attribute?
body: <p>Assuming the following script tag in a random HTML document:</p>
  
  <pre><code>&lt;script id="target" type="store"&gt;
      //random JavaScript code
      function foo(){
         alert("foo");
      }
      foo();
  &lt;/script&gt;
  </code></pre>
  
  <p>can anybody explain why the following expression doesn't find all elements of <code>script</code> with value <code>store</code> for their <code>type</code> attribute.</p>
  
  <pre><code>var sel = $('#target script[type="store"]');
  </code></pre>
  
  <p>jQuery version: v1.7.2
  Chrome version: 25.0.1364.172 (running on Debian Squeeze)</p>