PDA

View Full Version : JSONP REQUEST SUBMIT DATA CHINESE PARAMETER IS WRONG



gl202
6 Oct 2010, 1:35 AM
hello, everyone! my problem is JSONP Chinese parammeter submit error ,response data Chinese parameter is error!! THKS!
this is my code:

Ext.util.JSONP.request({
url: 'Json.aspx',
callbackKey: 'callback',
scope: this || window,
params: {
Action: 'TravelLines',
Privince:'SC',
Days:'6',
Keyword:'??'
},

callback: function(result) {
Ext.getBody().unmask();
this.isLoaded = true;
this.store.loadData(result.data);
this.scroller.scrollTo({ x: 0, y: 0 }, true);
}
});