Created
January 20, 2015 17:38
-
-
Save equijada001/61444bb9aec6db5c767a to your computer and use it in GitHub Desktop.
Code snippet to remove .00 from dynamic asks on convio forms
This file contains 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
var a = jQuery("div.donation-level-amount-container"); | |
jQuery.each(a, function(index, value) { | |
var nv = jQuery(value).text().replace(/\.[0-9][0-9]/g, ""); | |
jQuery(value).text(nv); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment