Answers for "pass jquery variable to laravel blade route"

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 "pass jquery variable to laravel blade route"

Code answers related to "Javascript"

Browse Popular Code Answers by Language