adding a number jquery code example
Example: adding integers jquery
//Adding integers in jQuery
var a = parseInt("1"); //use the parseInt() to convert strings to integers
var b = 3;
var c = 5;
var d = a + b + c;
document.write(d); //returns 9
//Adding integers in jQuery
var a = parseInt("1"); //use the parseInt() to convert strings to integers
var b = 3;
var c = 5;
var d = a + b + c;
document.write(d); //returns 9