Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var whil = n3.children('.trade_item');
- var all = 0; var one = [], two = [];
- for(var i = 0; i < whil.size(); i++) {
- $('.primary:last', data).children('.tradeoffer_item_list').children('.trade_item').each(function(i){
- one.push($(this).attr("data-economy-item").split('/')[2]);
- two.push($(this).attr("data-economy-item").split('/')[3]);
- });
- var ad = Price("http://steamcommunity.com/economy/itemhover/730/2/" + one[i] + "?o=" + two[i]);
- all += ad;
- }
- $('#w').html(all);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement