Instantly share code, notes, and snippets.

@raiden808 /click_append Secret
Created May 9, 2018

Embed
What would you like to do?
$('.test').click(function(){
alert("The paragraph was clicked.");
$( ".container" ).append( "<button class='append_button'>Append Button</button>" );
});
$('.append_button').click(function(){
alert("I'm an append button.");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment