Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to sum two var in jquery

var a = 1;
var b = 2;
var c = (+a) + (+b);
alert(c); //or whatever you want
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sum #var #jquery
ADD COMMENT
Topic
Name
4+2 =