Have little calculation:
$('.sum-value').html(
($('.one-value').html()) * ($('.another-value').html())
);
Want to calculate out of .one-value and .another-value. These values are numbers inside a html span with the corresponding class. So if I echo these two I get a single number.
And add the sum to .sum-value.
Is this possible or do i have to dump .one-value and .another-value to a var.
Actually it doesn't work, but I also get no error in the console.
Any suggestions?
.one-valueand.another-value?