I need to get the values for each row in my table. My table has no fixed number of rows and columns.
I only want the values of inputs
(within td
). The desired inputs have class quantidadeDigitada
The ideal would be to create an array with values per line. For example:
Valores[0] = 20.40;
Valores[1] = 20.40;
Valores[2] = 20.40;
I need to get the data as follows:
Valores.toString() = 20.40,20.40,20.40;
With this I can identify the quantity per product based on the position of array