Skip to content

Instantly share code, notes, and snippets.

@amitsaurav
Created January 23, 2014 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitsaurav/8588889 to your computer and use it in GitHub Desktop.
Save amitsaurav/8588889 to your computer and use it in GitHub Desktop.
JQuery script to remove all non-parking/non-travel transactions from Bank Of America credit card transactions view.
jQuery("#transactions tbody tr").each(function() {
var row = jQuery(this);
row.find('td:last').remove();
if(row.text().indexOf("CHEVRON") === -1 && row.text().indexOf("U-PARK") === -1 && row.text().indexOf("GOOD2GO") === -1) {
row.remove();
}
});
jQuery("#transactions tfoot").remove();
jQuery(".summary-details-row sd-one-col").remove();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment