These two lines doesn't seem right
d:"[{"ID":"2","Name":"Office Address","Desc":"Office Address","Check":"True","Code":"/^[a-zA-Z0-9\s\:\-]+$","CreatedBy":"felixd","CreatedDateTime":"2/18/2017 8:05:24 PM","UpdatedBy":"","UpdatedDateTime":"","IsActive":"True","ActiveStatus":"Yes","FlagStatus":"Yes"}]"
console.log(response.d[k].ID);
If you notice that, d is a string, and you can't access the string using key value.
On the other hand if d is an array, then the code will work
var d =[{"ID":"2","Name":"Office Address","Desc":"Office Address","Check":"True","Code":"/^[a-zA-Z0-9\s\:\-]+$","CreatedBy":"felixd","CreatedDateTime":"2/18/2017 8:05:24 PM","UpdatedBy":"","UpdatedDateTime":"","IsActive":"True","ActiveStatus":"Yes","FlagStatus":"Yes"}];
console.log(d[0].ID);
Just like Peter pointed out, the code need JSON.parse. See below on how to access the value after the parse
var data = JSON.parse(d);
$.each(data, function(i, item) {
x +='ID: ' + item["ID"] + '<br/>Name: ' + item["Name"];
console.log(item["ID"]);
});
Here is an example.
https://jsfiddle.net/0hnkznqq/2/
basically the d in this example = response.d