i have json array
and this is my code
var conf_url = "https://192.168.236.33/confbridge_participants/conference_participants.json?cid=0090000007";
getParticipant(conf_url, function(output){
var uid = output.uid;
document.write(uid);
});
function getParticipant(conf_uri, handleData) {
$.ajax({
type: "GET",
url: conf_uri,
dataType: "jsonp",
jsonpCallback: 'callback',
contentType: "application/javascript",
success: function(data) {
handleData(data);
// console.log(data);
}
});
}
i want to get uid of each object
but my output is undefined . . What am i doing wrong ? Please help.
