Good day.
For example i have code:
$("#button").on("click",function(){alert("hello");})
<button id="button">Test</button>
if this code find on page all working, but if we upload button use ajax, jquery for #button
not work and he work if i upload his only with button use ajax...
But i would be write all jquery scripts for page in a separate file...
How make that script jquery work for element which we add in body page use jquery ?