Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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

 
PREVIOUS NEXT
Tagged: #adding #integers #jquery
ADD COMMENT
Topic
Name
5+9 =