javascriptjqueryserverhostingclient-side-scripting

I have error on the JQuery DataTable. JQuery Datatable works fine on the local enviornment while on hosted enviornment, it gives error


enter image description hereI am using the JQuery Datatable in the MVC5 application along with WebApi. But when I'm running my application on my local environment, it works fine and when I host it on the server it gives me error. For more information I am attaching screenshot. Please provide the resolution for it.

We tried with try catch also tried to find the specific error but not reproducing.

JQuery datatable should display the proper data without error.


Solution

  • There is no issue in JQuery tables but with your service call. it returns invalid JSON response.

    refer to this link. https://datatables.net/manual/tech-notes/1