How do I get value.email from only position 0 of the index?
I only want the value.email from the first item returned in my JSON call.
$.each(data.DATA, function(index, value) {
console.log(value.EMAIL);
});
I have tried the following but this generates an error.
$.each(data.DATA[0], function(index, value) {
console.log(value.EMAIL);
});