Skip to content
Advertisement

Increment and Decrement price value on Change

i’m trying to do an price counter synchronizing with increment and decrement buttons, but the price is not changing when i click one of the buttons (+/-) this is not working, how can i solve this issue? Thanks!!!

JavaScript
JavaScript

Advertisement

Answer

If you change your binding to update whenever there is a click on an input, you’ll get the behavior that you are expecting.

JavaScript
JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement