my json data
{
"data": {
"ResponseMessage": [
{
"ReturnMessage": "Request Completed!",
"ReturnID": "0",
"ReturnStatus": "Y"
}
],
"Table": [
{
"ParentCategoryId": 1,
"ParentCategoryName": "Electronics",
"IsActive": true
},
{
"ParentCategoryId": 2,
"ParentCategoryName": "Electronics",
"IsActive": true
},
{
"ParentCategoryId": 3,
"ParentCategoryName": "Sports",
"IsActive": true
},
{
"ParentCategoryId": 43,
"ParentCategoryName": "Clothing",
"IsActive": true
},
{
"ParentCategoryId": 44,
"ParentCategoryName": "Clothing",
"IsActive": true
},
{
"ParentCategoryId": 45,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 46,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 47,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 48,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 49,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 50,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 51,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 52,
"ParentCategoryName": "xzxzx",
"IsActive": true
},
{
"ParentCategoryId": 53,
"ParentCategoryName": "yyyyyyyy",
"IsActive": true
},
{
"ParentCategoryId": 54,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 55,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 56,
"ParentCategoryName": "q",
"IsActive": true
},
{
"ParentCategoryId": 57,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 58,
"ParentCategoryName": "errrrrrrrrrrrrrrrrrrrrrrrrrrrrrr",
"IsActive": true
},
{
"ParentCategoryId": 59,
"ParentCategoryName": "qrs",
"IsActive": true
},
{
"ParentCategoryId": 60,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 61,
"ParentCategoryName": "aaaaaa",
"IsActive": true
},
{
"ParentCategoryId": 62,
"ParentCategoryName": "bbbbbb",
"IsActive": true
},
{
"ParentCategoryId": 63,
"ParentCategoryName": "wewewew",
"IsActive": true
},
{
"ParentCategoryId": 64,
"ParentCategoryName": "sdsd",
"IsActive": true
},
{
"ParentCategoryId": 65,
"ParentCategoryName": "sdsd",
"IsActive": true
},
{
"ParentCategoryId": 66,
"ParentCategoryName": "wewewew",
"IsActive": true
},
{
"ParentCategoryId": 67,
"ParentCategoryName": "xcxcx",
"IsActive": true
},
{
"ParentCategoryId": 68,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 69,
"ParentCategoryName": "hxsj",
"IsActive": true
},
{
"ParentCategoryId": 70,
"ParentCategoryName": "shytd",
"IsActive": true
},
{
"ParentCategoryId": 71,
"ParentCategoryName": "wewewew",
"IsActive": true
},
{
"ParentCategoryId": 72,
"ParentCategoryName": "t",
"IsActive": true
},
{
"ParentCategoryId": 73,
"ParentCategoryName": "t",
"IsActive": true
},
{
"ParentCategoryId": 74,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 75,
"ParentCategoryName": "t",
"IsActive": true
},
{
"ParentCategoryId": 76,
"ParentCategoryName": "shytdeee",
"IsActive": true
},
{
"ParentCategoryId": 77,
"ParentCategoryName": "t",
"IsActive": true
},
{
"ParentCategoryId": 78,
"ParentCategoryName": "shytdeee",
"IsActive": true
},
{
"ParentCategoryId": 79,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 80,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 81,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 82,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 83,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 84,
"ParentCategoryName": "shytd",
"IsActive": true
},
{
"ParentCategoryId": 85,
"ParentCategoryName": "",
"IsActive": true
},
{
"ParentCategoryId": 86,
"ParentCategoryName": "erere",
"IsActive": true
},
{
"ParentCategoryId": 87,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 88,
"ParentCategoryName": "ererrererer",
"IsActive": true
},
{
"ParentCategoryId": 89,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 90,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 91,
"ParentCategoryName": "shytd",
"IsActive": true
},
{
"ParentCategoryId": 92,
"ParentCategoryName": "shytd",
"IsActive": true
},
{
"ParentCategoryId": 93,
"ParentCategoryName": "oooo",
"IsActive": true
},
{
"ParentCategoryId": 94,
"ParentCategoryName": "eeeeeeeeee",
"IsActive": true
},
{
"ParentCategoryId": 95,
"ParentCategoryName": "shytd",
"IsActive": true
},
{
"ParentCategoryId": 96,
"ParentCategoryName": "ertertet",
"IsActive": true
},
{
"ParentCategoryId": 97,
"ParentCategoryName": null,
"IsActive": true
},
{
"ParentCategoryId": 98,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 99,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 100,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 101,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 102,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 103,
"ParentCategoryName": "Textiles",
"IsActive": true
},
{
"ParentCategoryId": 104,
"ParentCategoryName": "oooo",
"IsActive": true
},
{
"ParentCategoryId": 105,
"ParentCategoryName": "eeeeeeeeee",
"IsActive": true
},
{
"ParentCategoryId": 106,
"ParentCategoryName": "cars",
"IsActive": true
},
{
"ParentCategoryId": 107,
"ParentCategoryName": "fshdgj",
"IsActive": true
},
{
"ParentCategoryId": 108,
"ParentCategoryName": "etrey",
"IsActive": true
},
{
"ParentCategoryId": 109,
"ParentCategoryName": "shytj",
"IsActive": true
}
]
}
}
javascript below
<script type="text/javascript" language="javascript">
$(document).ready(function () {
var res = [];
$.ajax({
type: "GET",
datatype:"jsonp",
contentType: "application/json;charset=utf-8",
processData: true,
url: "http://209.126.78.88:89/get_ParentCategory",
success: function (data) {
res.push(data);
array(res);
}
});
function array(arr) {
console.log(arr);
}
});
</script>