Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
how to sum two var in jquery
Ottenalm
Programming language:
Javascript
2021-07-25 16:40:41
0
Q:
how to sum two var in jquery
Rep
Code:
Javascript
2021-05-29 10:57:50
var a = 1; var b = 2; var c = (+a) + (+b); alert(c); //or whatever you want
0
Tags
jquery
sum
how
two
var
Related
how to add two number using jqueryu
can we use two versions of jquery in same page
jquery use variable in string "without" concatenate
jQuery element with multiple classes
jquery to copy two input fields into one with a space between
jquery select element with two classes
jquery array compare values
jquery find multiple
jquery add multiple classes
New to Communities?
Join the community