0

I am using Yajra Datatable (https://yajrabox.com/docs/laravel-datatables/10.0)

In my local If I use console.log(table.ajax.json()) I can get table.ajax.json().input and base on this data I perform something. But in server this .input is not available and it throws error.. any idea?

Local log

Vpa
  • 703
  • 2
  • 9
  • 30
  • I change my logic and it's working now – Vpa Jun 26 '23 at 07:06
  • Do you mind putting what you did in case it helps someone else in the future? – mark_b Jun 26 '23 at 08:51
  • I cannot figure out why `.input` is not available in server, so I change all my logic and I use `ajax:{data: function (d) { // my logic goes here}}` – Vpa Jun 26 '23 at 11:02

0 Answers0