Last active
September 21, 2015 15:12
-
-
Save imjared/2c9eea3498fd26c03a35 to your computer and use it in GitHub Desktop.
This file contains 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 total = 0; | |
$('.results-list tr').not('thead tr').each( function() { | |
var amount = $(this).find('td').eq(4).text(); | |
amount = amount.replace('$', ''); | |
total = total + parseFloat( amount ); | |
}); | |
console.log( 'total amount: $' + total.toFixed( 2 ) + ', lol' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can use @ https://www.ticketfly.com/account/myOrders