title: How to get Values of Group of textbox and put them in a ( key : Value ) array with jquery?
body: <p>How to get values of group of textbox and put them in a <code>(key : value)</code> array using JQuery?</p>
  
  <pre><code>foreach ($students as $value) {
      ?&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;input name="result[]" class="result" id="&lt;?= $value['stuId'];?&gt;" type="text" required=""/&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;?php
          }
      ?&gt;
  </code></pre>
  
  <p>I don't know how to get values of a group of input values.</p>
  
  <p>Which technique is useful in that case and how can I make the keys of the array is the input id?</p>