Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

hti laravel route from javascript file

  <script type="text/javascript">
	 	var deletePostUri = "{{ route('delete_post',$post_id)}}";
	</script>
Source by laravel.io #
 
PREVIOUS NEXT
Tagged: #hti #laravel #route #javascript #file
ADD COMMENT
Topic
Name
2+6 =