Your json string represents an array. The variable "data" is probably
that array. There is no idfakultas property on the array, but there is
an idfakultas property on each of the two objects in the array. Try
this for your alert:

alert("tes =" + data[0].idfakultas + " " + data[1].idfakultas);

Reply via email to