Skip to content

Instantly share code, notes, and snippets.

View equijada001's full-sized avatar

Erick Quijada equijada001

  • The Engage Group
View GitHub Profile
@equijada001
equijada001 / Convio embedded survey
Last active August 29, 2015 13:59
Convio embedded survey - duplicates the email address of user into hidden CRI email field
<!-- Bringing in jQuery -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<convio:session name="28" param="EMBED:14841"></convio:session>
<script>
$(document).ready(function() {
//$("input#cons_email").parents("tr.old-school").addClass("hide");
$("input#cons_email").parents("tr.old-school").hide();
$('input[name="3340_14841_3_12143"]').bind("keyup change", function (){
@equijada001
equijada001 / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@equijada001
equijada001 / array iteration
Created January 20, 2015 17:38
Code snippet to remove .00 from dynamic asks on convio forms
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);
});