I am using the input spinner example from below:
https://shaack.com/projekte/bootstrap-input-spinner/
I need to have multiple spinners for every product. Do I need a separate function for detecting value/change for every instance of the spinner since the function operates on the id of the spinner.
$inputNet.on("change", function (event) {
$inputGross.val($inputNet.val() * 1.19)
})
$inputGross.on("change", function (event) {
$inputNet.val($inputGross.val() / 1.19)
})
Do I need to dynamically generate the JavaScript function as well for every input-select?