Skip to content

Instantly share code, notes, and snippets.

@puiutucutu
Last active October 13, 2015 18:38
Show Gist options
  • Save puiutucutu/4c697a9405f819ea9633 to your computer and use it in GitHub Desktop.
Save puiutucutu/4c697a9405f819ea9633 to your computer and use it in GitHub Desktop.
jQuery('body').on('click', '.close', function() {
// get parent id
var parent = $(this).parent();
var parentId = parent[0].id;
// hide error
toggleBootstrapHidden('#' + parentId, 'hide');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment