I have code like this
$(document).on('click', '.addtocart .plus, .addtocart .minus', function () {
var num = $('a.account span').text();
.........
.........
});
Same code applies for
$(document).on('change','.addtocart .qty', function () {
var num = $('a.account span').text();
.........
.........
});
Can anyone tell me how to combine these click and change events?