mardi 1 mars 2016

checkbox change event not working

i'm Trying to include an onclick event for a checkbox in my laravel application

This is my Input Section

<input type="checkbox" id="early_access" name="early_access">

And the function

$(document).ready(function() {
  $('#early_access').change(function() {
    alert("booyah");
  });
});

The function is not working ..




Aucun commentaire:

Enregistrer un commentaire