Created
June 4, 2016 20:48
-
-
Save jeanbza/bfbf7d9c139ab73b1ce20064d6c27c77 to your computer and use it in GitHub Desktop.
Chase sum pending
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var amounts = $("#Pending").find("td.amount"); | |
var total = 0; | |
for (i = 0; i < amounts.length; i++) { total += parseFloat($(amounts[i]).text().substring(1)) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment