$(function() {
$("input[class$='m_value']").keyup(function() {
var val1 = $('#v1').val();
var val2 = $('#v2').val();
var val3 = $('#v3').val();
var total = val1+val2+val3;
$( "#total" ).val( total );
});
});
if #v1= 1 #v2=5
I will get 15 , not 6
why the code just char+char...? this not int+int.