-
-
Save ecoleman/6168121 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.accountSigner = function() { | |
$('.addSigner .addSignerBtn').each(function() { | |
var next_btn = $('#nextBtn'); | |
$(this).click(function() { | |
var parent = $(this).parents('.addItem'); | |
parent.addClass('close').hide(); | |
parent.next('article').show(); | |
// show the overall next button | |
next_btn.show(); | |
}); | |
}); | |
}; | |
// start monitoring the singer buttons when the page is loaded | |
$(function() { accountSigner(); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment