Skip to content

Instantly share code, notes, and snippets.

@mscalora
Created October 26, 2016 18:02
Show Gist options
  • Save mscalora/d1819ddc9a2a4c0daf190c95f9a06529 to your computer and use it in GitHub Desktop.
Save mscalora/d1819ddc9a2a4c0daf190c95f9a06529 to your computer and use it in GitHub Desktop.
jQuery('.holdingsGrid > .dataRow').each(function(){
var t = $('.ticker',this).clone(); t.find('small').text('');
console.log((t.text().trim()||'n/a')+'|'+$('.ticker small',this).text()+'|'+$('.quantity p',this).text()+'|'+$('.price p',this).text()+'|'+$('.value p',this).text());
}); 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment