Last active
March 3, 2017 22:02
-
-
Save DominicImhof/7b4909dfa8ee7aeb1e5f08cdd1443824 to your computer and use it in GitHub Desktop.
Sum digitec Orders
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
// Bestellungen => https://www.digitec.ch/de/Order | |
var sum=0;$('.order-box').map(function(){sum+=parseFloat(this.children[4].innerText.replace('\'',''))});console.log(sum); | |
// Bestellungsarchiv => https://www.digitec.ch/de/OldDigitecOrder/Search/???????? | |
var sum=0;$('.order-box').map(function(){sum+=parseFloat(this.children[5].innerText.replace('\'',''))});console.log(sum); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment