I use html () to get the value of the html attribute then I add 2 values but it's just like adding a string, how can I add the Dom selector to add numbers?
var phantram = $('#giamtheophantram').html();
var phantram1 = $('#chuadungma').html();
if(phantram1 == 'contuer'){
phantram1 = 0;
}
$(document).ready(function() {
document.getElementById('tonggiam').innerHTML = phantram + phantram1;
});