Thursday, 15 August 2013

Ajax call not displaying any data when a number of rows is huge

Ajax call not displaying any data when a number of rows is huge

The same code is displaying data when rows returning from backend is less
than 40. But after rows returning are more than 40, there is no data
displayed on the front end.
My code:
$.ajax({
url: '/getdata.htm',
dataType: 'json', // Choosing a JSON datatype
success: function(data)
{
}
error:function(){
alert("Something went wrong");
}
});
After 40 rows data.length is showing as 0. while data is not equal to
null. Even not going in to error function.

No comments:

Post a Comment