I load templates into container with jQuery .load function:
$('#container').load('templates/list.php');
But when it loaded, doesnt work any other jQuery function. For example, i load template:
<a href="#/phone" class="btn btn-primary btn-xs" id="phone_req">OK</a></div>
and add to my script.js
$('#phone_req').click(function(){
console.log('Phone');
});
after loading, i click on button, but nothing happend. Please tell me where I'm wrong