Last active
May 13, 2023 13:20
-
-
Save agragregra/e38de84c21fa45874ff2df39ed11e3d8 to your computer and use it in GitHub Desktop.
Получить сумму всех выкупленных заказов DNS на вкладке "Выкупленные"
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
// Сначала необходимо долистать до конца страницы: Fn + ↓ | |
total = 0; | |
$('.order-summary__sum').each(function() { | |
item = parseInt($(this).text().replace('₽', '').replace(' ', '')); | |
total += item; | |
}); | |
console.log(total); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment