This is the question, I have a form that contains a number (not always the same amount) of inputs. All that inputs are tagged by the name ("qtyv[]") and all have the same id ("qtyv").
I want to sum all the values of that inputs, but I dont know how to get that data with javascript.
Any ideas?
Qty 1= <input type="text" id="qtyv" name="qtyv[]" />
Qty 2= <input type="text" id="qtyv" name="qtyv[]" />
...
I want to sum the values of all that inputs...