On my Laravel app when I click on checkbox it is not doing anything which is declared in my JQuery script. Checkbox:
<input type="checkbox" id="terms_info" name="terms_info"/>
Script:
$(document).ready(function (){
alert('home is ready');
$("#terms_info").on("click",function() {
alert('home is checked');
});
});
Also, there are no errors in the console on Firefox dev tools. Thank you for the help!