In my project i'm drawing the design by using jQuery while runtime,
The above code works fine. An ADD button is introduced to add extra details if the user needs.
I need to display the same design if the user click add button, so i coded for this
but here the click function is not working. and i have tried
- $('#AddDetails').live('click',function(){
and
- (document).on('click', '#AddDetails', function () {
Why click function is not triggering here?
how can i solve this?