Hi, i have a f7 tempate which has a mounted() function,
with the following , code ,where I am trying to initialize the stepper with change event
listener,
app.on('stepperChange', function(stepper,value){
var _itemLineTotal = value * 2 ;
//then i tried to assign the value to one of the element with a known id
$('#item_screen_cart_total').innerHTML = _itemLineTotal.toString();
});
and the stepper is working and console record no errors,
but it is just not working! value can’t get assigned but when i go to the console,
and tried the same code
$('#item_screen_cart_total').innerHTML = 'some value 123';
it works. is there anything wrong with my code?
I appreciate for any input or help.
thanks.
kalmen