Undefined value when using paginate in get request using AJAX Laravel – Jquery ajax
I'm doing get request using AJAX. In my Laravel Controller, I tried to use "->paginate(5);" and I got undefined values but when I'm using "->get();" it works perfectly but I wanted to use paginate to have pagination in my table.…