How to load data from controller to view using ajax call in laravel?

前端 未结 0 1140
北海茫月
北海茫月 2021-02-07 13:18

I want to get all products by category when clicked on category name. I get data from database but couldn\'t load that in view using ajax.

My controller code



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题