I have a controller which is returning an array. I am using foreach loop in the blade to show the data individually. For eg.
@foreach($a as $b)
{print_r($b)
}
So, it gives me the values correctly. Now, I have a jquery function written in a separate JS file, abc.js. So, can I call this function in the foreach loop here?
Note: I don't want to call this function inside