Answers for "laravel route blade and js variable"

0

use js variable in blade route

var product_id = 15;

var url = '{{ route("product.edit", ":id") }}';

url = url.replace(':id',product_id);
Posted by: Guest on May-06-2021

Code answers related to "laravel route blade and js variable"

Code answers related to "Javascript"

Browse Popular Code Answers by Language