Answers for "jquery set route with parameters in url"

0

jquery set route with parameters in url

var url = '{{ route("admin.stocks.edit", ":id") }}';
url = url.replace(':id', stock.id);
$('.stocks_list').append('<li><a href="'+url+'">' + stock.symbol + ' </a></li>');
Posted by: Guest on May-31-2021

Code answers related to "jquery set route with parameters in url"

Code answers related to "Javascript"

Browse Popular Code Answers by Language