title: jQuery selector for inputs with square brackets in the name attribute
body: <p>I'm trying to select this element which has square brackets in the name attribute:</p>
  
  <pre><code>&lt;input type="text" name="inputName[]" value="someValue"&gt;
  </code></pre>
  
  <p>I've tried this (which doesn't work):</p>
  
  <pre><code>$('input[inputName[]=someValue]')
  </code></pre>
  
  <p>and neither does this:</p>
  
  <pre><code>$('input[inputName&amp;#91;&amp;#93;=someValue]')
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>$('input["inputName[]"=someValue]')
  </code></pre>
  
  <p><strong>EDIT:</strong> As some of you have pointed out, <code>$('input[inputName=someValue]')</code> would never work. What I was trying to do was: <code>$('input[name=inputName][value=someValue]')</code>. (But with <code>[]</code> in the name attribute).</p>