Skip to content

Instantly share code, notes, and snippets.

@paulmorriss
Last active August 29, 2015 14:06
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 paulmorriss/2f76f1c42fefb210f167 to your computer and use it in GitHub Desktop.
Save paulmorriss/2f76f1c42fefb210f167 to your computer and use it in GitHub Desktop.
Blackbaud Online Express tweak donation form
<script type="text/javascript">
/* See http://manypies.paulmorriss.com/2014/09/online-express-third-post.html for explanation of this.
** waitUntilExists comes from here: https://gist.github.com/buu700/4200601 */
/* Put this after the BBOX code to embed the form */
$("input#bboxdonation_btnSubmit").waitUntilExists(function() {
/* Set the posttown prompt on the BBOX donations forms*/
if ($('#bboxdonation_billing_billingAddress_txtUKCity').length != 0) {
$('#bboxdonation_billing_billingAddress_txtUKCity').attr('placeholder','Posttown');
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment