Skip to content

Instantly share code, notes, and snippets.

Created August 6, 2013 20:04
Show Gist options
  • Save anonymous/6168097 to your computer and use it in GitHub Desktop.
Save anonymous/6168097 to your computer and use it in GitHub Desktop.
function accountSigner() {
$('.addSigner .addSignerBtn').each(function() {
$(this).click(function() {
if ($(this).parents('.addItem').hasClass('close'))
{
alert('Hello World');
$(this).parents('.addItem').removeClass('close');
$(this).slideDown();
}
else {
$('.skipBtn').hide();
$('.pageTop').hide();
$(this).removeClass('addItem').addClass('summary');
$(this).hide();
$(this).fadeIn();
$(this).slideDown();
$('#nextBtn').fadeIn('fast');
}
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment