I am trying to use jquery in a Laravel 5.6 project blade template like this..
<script>
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script>
This is giving me an error message...
Uncaught ReferenceError: $ is not defined
Is jQuery automatically included or do I need to include it manually?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2IIF3E3
via IFTTT
Aucun commentaire:
Enregistrer un commentaire