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