[jQuery] JQuery and append().

[jQuery] JQuery and append().


Hello,

I have written a code in which after clicking a button a html is
appending inside a div, I have used append() method in jquery for that
purpose. In the appended html code I have another button having id 'btnGo'.
After clicking on this button I want some further functionality, For that I
have written code like this: $("btnGo").click(function(){alert('Hi');});
But the alert is not getting fired, Means that the click event is not
getting fired, Can anybody give me the solution ?
Thanks and Regards,
Pankaj
--
View this message in context: http://www.nabble.com/JQuery-and-append%28%29.-tp22906392s27240p22906392.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.