data table when filled with json, jquery and webserice run fine on local machine but when publish on server it is giving Failed to load resource: the server responded with a status of 500 (Internal Server Error)
$.ajax({ url: "testing.asmx/Get_DashBoardData", type: "post", dataType: "json", success: function (data) { $('#MO').dataTable({ data: data, "bInfo": false, //Dont display info e.g. "Showing 1 to 4 of 4 entries" "paging": false,//Dont want paging "bPaginate": false,//Dont want paging "bFilter": false, //hide Search bar columns: [ { 'data': 'abc' }, { 'data': 'cde' }, ] }); }, error: function (request, status, error) { alert(request.responseText); } });
Salman BegPosted Jun 2, 2020, 3:12 AM
Sameer KhanPosted Jun 2, 2020, 12:15 AM
Salman BegPosted Jun 1, 2020, 1:24 PM