Passing Parameter In Eloquent Orm Inside A Javascript Function
I have a Laravel app where i'm using jQuery DataTables Master/Details to show some extra information. I can show the data to the child row, but I want it filtered first, depending
Solution 1:
I think you can't not get an id from javascript to PHP like that. Because PHP render your script and send it with HTML into browser.
You should write ajax call for each row or prepare data before render into HTML
Solution 2:
This won't work the way you would like. You are better going with your original approach. If you post you db structure on your previous question I can take a look at it.
Post a Comment for "Passing Parameter In Eloquent Orm Inside A Javascript Function"