title: How do I reference an element by name with [] brackets in it?
body: <p>How do you reference a element in jquery BY NAME that has the [] in it.</p>
  
  <pre><code>&lt;select name="values[]" multiple="true"&gt;
  &lt;option value="1"&gt;1&lt;/option&gt;
  &lt;option value="2"&gt;2&lt;/option&gt;
  &lt;option value="2"&gt;2&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;script type="text/javascript"&gt;
  $('[name=values[]]'); 
  &lt;/script&gt;
  </code></pre>
  
  <p>this should grab the element, but it does not work, I believe the [] in the name is messing it up, escaping it doesn't seem to work either.  I can't figure out what I'm doing wrong</p>