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);
owh thx joe its works now ^^
On Wed, Dec 30, 2009 at 6:52 PM, Joe Sondow joeson...@gmail.com wrote:
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
2 matches
Mail list logo