jsonp를 사용하면 된다.
console 메세지는 크롬 디버그 화면 console에서 확인할수 있다.
var addrStore1 = new Ext.data.JsonStore(
{
fields: ["sido","code"],
proxy: {
type: 'jsonp',
url: 'http://x.x.x.x/list',
reader: {
type: 'json',
}
},
autoLoad: true,
listeners: {
load: function() {
console.log(this.first().data.code);
}
}
});