How to get the values of selectors (their number is not known beforehand) and immediately display them on the page, without clicking on the button or reboot?

I have a few select points, we do not know how. Depends on the number of goods, which quantity we want to order.

You need to get the values select points, multiply them by the price of the goods and immediately display the correct final price in real time, ie if the user changed his mind and changed the quantity of products, the amount must be immediately recalculated

Here's an example -
In this example, the number of selectors - 3, but the JS-code should work regardless of how many there are.
July 8th 19 at 15:52
2 answers
July 8th 19 at 15:54
Hang a listener on the change of selectors.
After moving all the selects get the value of each and consider the price.
July 8th 19 at 15:56

Find more questions by tags JavaScriptjQuery