Jquery is loading only the first item in the table

0

Good morning,

I have a table that displays the budgets (coming from the bank) within a while loop ...

For each budget there is the button to see more details, where it opens a modal

And in this modal, the values of each product are inserted in the inputs and

A jquery function performs the calculation with the total value and displays.

- But the problem is in him doing this calculation, across the table.

Only in the first element of the table, it works perfectly!

But already in the other rows of the table, simply do not load the sum, nor show anything in the console,

The modal opens in all, with the correct information, only the sum function that does not ...

Does anyone have any idea how to do this?

(I already had the msm problem with modal to edit product, however I ended up displaying on another page, because I do not find anything about and I could not develop anything

I have tried to open the modal with jquery passing with the modal id, but it also does not work ...)

    
asked by anonymous 25.09.2016 / 14:57

0 answers