Answer the question
In order to leave comments, you need to log in
How to add jquery script to form in laravel?
I have a part of the project responsible for adding information from a form. The form has required fields. It is necessary that they are highlighted in red if they are not filled. It needs to be written in jquery. The question is where should I write my code?
jQuery itself is in the project. (The form page is part of the template, not a complete document)
Answer the question
In order to leave comments, you need to log in
connect via asset or whatever you have in Laravel the script.js script,
in it write the form field handler by its id
, everything is
sure at the request " js form validation laravel " you can find ready-made solutions
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question