title: jQuery select within names that are nested arrays
body: <p>Suppose I have a form with input element naming scheme that is a multidimensional array. Such as:</p>
  
  <pre><code>&lt;form&gt;
      &lt;input type="number" name="foo[123][456][789]" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Is it possible to use jQuery (CSS selectors) to select all inputs where the name starts with foo, and has a specific value in the second array selector?</p>
  
  <p>For example, the following is a possible valid selection (second array selector is always 456):</p>
  
  <pre><code>&lt;input type="number" name="foo[123][456][1]" /&gt;
  &lt;input type="number" name="foo[422][456][2]" /&gt;
  &lt;input type="number" name="foo[443][456][3]" /&gt;
  &lt;input type="number" name="foo[211][456][4]" /&gt;
  </code></pre>