Skip to content

Instantly share code, notes, and snippets.

@vamshi4001
Created September 15, 2016 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vamshi4001/97ce25ed26a93bff96fafd48c60edbce to your computer and use it in GitHub Desktop.
Save vamshi4001/97ce25ed26a93bff96fafd48c60edbce to your computer and use it in GitHub Desktop.
var total = 0;
var x = $("._sz6");
for (var i = 0; i < x.length; i++) {
total += parseInt(x[i].textContent.replace(",","").substr(1,x[i].length)) || 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment