I have the following code and output, and I cant fine any error on the json data to be decoded. Can anyone please help me in finding this error
CODE:
When you specify dataType : json, result is already parsed in jQuery.
Moreover, complete function argument is returning an object representing the result not the result itself.
That case you should use var top10Value = JSON.parse(data.responseText);
var top10Value = JSON.parse(data.responseText)