Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

call laravel route js

function confirmDelete(id){
    let url = "{{ route('getDeleteRequest', ':id') }}";
    url = url.replace(':id', id);
    document.location.href=url;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #laravel #route #js
ADD COMMENT
Topic
Name
6+6 =