Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sainsbury's Bank Credit Card transaction view to CSV (almost)
$('tr.no-transaction-details.card').each(function(i, e) {
var $e = $(e);
var s = [$e.find("td[data-coltype='date']").text(),
$.trim( $e.find("td[data-coltype='description']").text() ),
$.trim( $e.find("td[data-coltype='amount']").text() )
];
s = s.join(',');
console.log(s);
})
@jonathh21
Copy link

Legend

@jonathh21
Copy link

And again...

@Gergling
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment