title: jQuery | Input name with multiple dimensional array
body: <p>I am building a plugin for the WordPress, and I have a screen that need to manipulate the data of multiple dimensional array names. More specific, I have the input elements like the following:</p>
  
  <pre><code>&lt;div class="settingsContainer"&gt;
      &lt;input type="button" class="edit" value="Edit" /&gt;
      &lt;input type="hidden" name="initialFare[1][title]" value="Initial fare"&gt;
      &lt;input type="hidden" name="initialFare[1][rate]" value="2.25"&gt;
      &lt;input type="hidden" name="initialFare[1][description]" value=""&gt;
      &lt;input type="hidden" name="initialFare[1][whenType]" value="always"&gt;
  &lt;/div&gt;
  &lt;div class="settingsContainer"&gt;
      &lt;input type="button" class="edit" value="Edit" /&gt;
      &lt;input type="hidden" name="initialFare[2][title]" value="Initial fare II"&gt;
      &lt;input type="hidden" name="initialFare[2][rate]" value="2.25"&gt;
      &lt;input type="hidden" name="initialFare[2][description]" value="Hello"&gt;
      &lt;input type="hidden" name="initialFare[2][weekday][]" value="Mo"&gt;
      &lt;input type="hidden" name="initialFare[2][weekday][]" value="We"&gt;
      &lt;input type="hidden" name="initialFare[2][weekday][]" value="Th"&gt;
      &lt;input type="hidden" name="initialFare[2][startHour]" value="00:02"&gt;
      &lt;input type="hidden" name="initialFare[2][endHour]" value="23:56"&gt;
      &lt;input type="hidden" name="initialFare[2][whenType]" value="dayshours"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Now, the problem is, how to iterate over the weekdays of the second settingsContainer, and in general, how can I write my selectors for multiple dimensional array names. Is there any good tutorial for writing name selectors ? Any idea ?</p>