0
How can I act to sum the values of inputs of the same class being that, the number of inputs does not have a standard, ie, can be that time the class p1
has 5 instances, hour 1.
The structure would look something like this:
<input type='text' class='p1' />
<input type='text' class='p1' />
<input type='text' class='p1' />
<input type='text' class='p2' />
<input type='text' class='p2' />
<input type='text' class='p2' />
<input type='text' class='p3' />
<input type='text' class='p3' />
<input type='text' class='p3' />