Skip to content

Instantly share code, notes, and snippets.

@kmelkon
Created July 28, 2013 14:41
Show Gist options
  • Save kmelkon/6098821 to your computer and use it in GitHub Desktop.
Save kmelkon/6098821 to your computer and use it in GitHub Desktop.
$('.x').append('<%= escape_javascript(render :partial => "contacts/contact_card") %>');
$('.field-clear').val('');
$.colorbox.close();
$(".contact-card:even").addClass("pull-left");
$(".contact-card:odd").addClass("pull-right");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment