Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pass array from controller to javascript blade

var array = @json($arrayFromController)
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #pass #array #controller #javascript #blade
ADD COMMENT
Topic
Name
4+7 =