title: jquery - reference input by name?
body: <p>The name of my form field is contact[0][state] and I'm trying to reference it via jquery to set a default value, but it's not working and I'm wondering if it's not working because of the brackets?</p>
  
  <p>I'm trying:</p>
  
  <pre><code>$('input[name=concat[0][state]]').val('NY');
  </code></pre>