How to re-track a click on an element?

Hello. I have a catalog which works on Ajax. In this structure built link a href = "#", which given a class change_cetegory. Hanging on click event for this class, followed by Ajax request to the server. The server gives in response a new directory structure that I put on the website: $('body').html();
And here begins the difficulty. The whole structure of elements has changed, and the script below no longer tracks clicks on the class change_cetegory. Please tell me how jq again to track clicks?

$(document).ready(function(){
$('.change_cetegory').click(function(e){
e.preventDefault();
 var fd = new FormData(this), id = $(this).data("id");
 fd.append('action', 'get_auto');
 fd.append('id', id);

$.ajax({
 type: "POST",
 url: "/ajax.html",
 data: fd,
 contentType: false,
 cache: false,
 processData: false,
 success: function(msg) {
 mass2 = JSON.parse(msg);
 if (mass2.result == 'error') {
console.log(msg);
 } else {
$('body').html(mass2.html);
}
}
});

});
 });
July 2nd 19 at 13:47
1 answer
July 2nd 19 at 13:49
Solution
$(document).on('click', '.change_cetegory', function(e){

Find more questions by tags JavaScriptHTMLjQuery