Skip to content

Instantly share code, notes, and snippets.

@RSquaredSoftware
Last active August 29, 2015 14:00
Show Gist options
  • Save RSquaredSoftware/11362356 to your computer and use it in GitHub Desktop.
Save RSquaredSoftware/11362356 to your computer and use it in GitHub Desktop.
$('body').on('click','.info', function (e) {
// Don't let the page reload
e.preventDefault();
$('.details').after().remove();
$('#'+e.target.id+'Row').after('<div class="details">some details</div>');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment