I have successfully loaded a blade view into another using ajax. However, the Javascript written in the main file does not seem to work for the loaded file. How can I resolve this issue?
bladeView
<span class="selectable " id="" name="">
Rate Here
</span>
JS in bladeMain
$('.selectable').click(function () {
alert('working');
});