I am new to jquery, I have a button click event which works well but when i use the append() to append the button inside div. The click event doesn't work
My code below:
$('#button').click(function() {
alert('works');
$('#element').show("slow");
});