S
S
serik2020-06-24 18:25:20
Laravel
serik, 2020-06-24 18:25:20

Loading data using ajax method with the "Show more" button?

How to make content loading ajax method in LARAVEL.
I export all data via:

$catPaginate = DB::table('category')->paginate(10);
return view('profession', ['categories' => $catPaginate]);

button template:
<a show_more href="javascript:void(0)">Показать ещё</a>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question