Skip to content

Instantly share code, notes, and snippets.

@stringfellow
Created January 1, 2016 20:12
Show Gist options
  • Save stringfellow/1ac60998d855eeb688e0 to your computer and use it in GitHub Desktop.
Save stringfellow/1ac60998d855eeb688e0 to your computer and use it in GitHub Desktop.
eBay sold item averagerer
x=y=0;$('.bidsold').each(function(){x++;y+=parseFloat($(this).html().trim().substr(1,5))});y/x;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment