Store data from the javascript?

Hi @joshjosh

Please try this:

var amountInput = $('#'+amountInputId).val();
var quantityAmount = $('#'+quantityAmountId).val();
    
var total = amountInput * quantityAmount;
$("#input_field_id").val(total).change(); 

I added .change() to the end.

2 Likes