title: When using array to name input fields in HTML -- how to count array length?
body: <p>Let's say I have some html that looks like this:</p>
  
  <pre><code>&lt;input type="text" name="myInputs[]"&gt; 
  &lt;br&gt;
  &lt;input type="text" name="myInputs[]"&gt; 
  &lt;br&gt;
  &lt;input type="text" name="myInputs[]"&gt; 
  &lt;br&gt;
  </code></pre>
  
  <p>I want to use the length of the myInputs array inside some JavaScript code. How do I extract the length of this array? myInputs.length doesn't seem to work</p>