Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gcMessageDisplay.each(function(index, value) {
console.log("looping");
$('.next').eq(index).live('click', function() {
var parent = $(this).parent();
console.log(gcMessageDisplay);
console.log(index);
parent.html(gcMessageDisplay.eq(index+1));
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.