Created
January 23, 2014 23:23
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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