3
Answers

Data table filled with json, jquery and webservice

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); } });

Answers (3)