0
我新的煎茶 我创建如何与煎茶PHP一同工作
var genres = new Ext.data.Store({ autoLoad: true,
proxy: {
url: '../www/App/stores/genres.php'
,callbackKey: "callback"
, type:'ajax',
reader:{
type:'json',
root:'rows'
},
callback:function(data){
alert(data);}
},
fields:[{name:'ii',type: 'int'},{name:'genre_name',type:'string' }]
});
php文件创建JSON文件,但如果我创建JSON文件,而不是它正常工作做什么,我不能访问它们?帮助