asked on
$.ajax({
url: 'App_Code/UnitAvailability.ashx',
type: 'POST',
dataType: 'json',
// data: JSON.stringify($('form').serializeObject()),
data: JSON.stringify(test2),
success: function (data) {
var oTable = $('#example').DataTable({
data: data, //this is your JSON object, which is what is showing in your post above with console.log(data)
"bLengthChange": false,
searching: false,
select: { etc,,,,,
The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications
TRUSTED BY