Button click not firing when button added to div

Button click not firing when button added to div

Hello,

Im adding sections to div's that contain a button.

The button inside the div does not fire after being added.

                                               
$(".addCont").on("click", (function () {   
 var $dtl = $("#dtltmpl").html();              
 $("#dtltbl").append($($dtl));                 
}));               

          <button type="button" class="btn btn-blue btn-xs addCont">Add Container</button>