Javascript Stop Working after update UI from ajax

Viewed 26

I am updating the div content from ajax and use .html element. Content is adding successfully but after adding whole page is stop working means nothing is clickable.

Ajax code

$('body').on('click', '.save-meeting', function() {
   $.easyAjax({
     url: 'url/to/fetch/div',
     container: '#container',
     type: "POST",
     data: $('#container').serialize(),
     success: function(data) {
         $('#div_to_update').html(data.html);
     }
  })
});

The content in data.html is adding in #div_to_update Successfully but after after that nothing is clickable. Can any one guide me what I am missing here?

0 Answers
Related