title: select by name and array value with jquery
body: <p>I thought that i could do this:</p>
  
  <pre><code>i[1] = 23; // this is built from a regex
  
  $('select [name="sys_map\\['+i[1]+'\\]"]').css('border-color', '#FF5C5C');
  </code></pre>
  
  <p>or maybe</p>
  
  <pre><code>$('select [name=sys_map\\['+i[1]+'\\]]').css('border-color', '#FF5C5C');
  </code></pre>
  
  <p>to select</p>
  
  <pre><code>&lt;select name="sys_map[23]"&gt;
  </code></pre>
  
  <p>quoting the name shows error:</p>
  
  <blockquote>
    <p>[15:36:27.647] Error: Syntax error, unrecognized expression: select
    [name="sys_map[1]"</p>
  </blockquote>