Goof afternoon all. I have created a price calculator for a flooring website that allows users to input room length and width, then j’query will calculate the required quantity for the select flooring.
This all works perfectly and updates the quantity input automatically. However I have a ‘total price’ variable which multiplies the price per box by the area of the room as per the user input and this gives an output of ‘total price’ which is perfect, but if they user clicks the + or - buttons on the quantity input to adjust how many boxes they require the price no longer updates automatically and I am unsure on how to get this too work.
Does this make sense? So basically when the user inputs their own quantity the total price needs to update automatically.
You can view the code for this page here: https://jsfiddle.net/o1Lqv8sm/