I am missing something...but i don`t know what. I want to make an ajax request using jquery and laravel 5.4. In java script i have this script
My html form is form
The if for checking if the password match don`t work. It goes directly to url and get response from server in browser (plain json)
return response()->json(['success' => false, 'message' => 'Password don`t match!']);
How to check (on client) if password match? (then do the ajax) How to catch the response and showing in alert? (not plain json in browser) WITHOUT REFRESH???
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire