hi i have a litle problem here T_T .. with json i try to load json and when
i alert the result, the result is undefined is there something i missed ?

this is my json :

[{"idfakultas":"5","iduniversitas":"35","namaFakultas":"Fakultas
Teknik","namaUniversitas":"Universitas Brawijaya","alamat":"Jl
Veteran","website":"http:\/\/brawijaya.ac.id"},{"idfakultas":"11","iduniversitas":"35","namaFakultas":"tes","namaUniversitas":"Universitas
Brawijaya","alamat":"Jl Veteran","website":"http:\/\/brawijaya.ac.id"}]

this is my jquery :
          $.getJSON("
http://localhost/ci/index.php/skripsi/superAdmin/fakultasDropDown/"+id,
          function(data){
                    alert("tes ="+data.idfakultas);
          });

the alert output is tes =undefined

-- 
Putra Prima A
0410630078 Teknik Elektro Brawijaya
3 ipa 2 smunsa 2004
http://siubie.web.id/

Reply via email to