Hey Laravel Devs 📢
Do you know? You can use Laravel Blades
{{ }}
in JS and use PHP variables in there.
Also, You Can Use Route In Ajax URL
But your JS must be in the Blade file inside the "script" tag.
Hey Laravel Devs 📢
Do you know? You can use Laravel Blades
{{ }}
in JS and use PHP variables in there.
Also, You Can Use Route In Ajax URL
But your JS must be in the Blade file inside the "script" tag.