导航

2013年12月25日

摘要: Store里proxy:{actionMethods:{read:'post'}}这样就OK了-----JSON 转换function testJosonString(){var str="[{value:1,text:'a'},{value:2,text:'b'}]";var list=[{value:1,text:'a'},{value:2,text:'b'}];alert(str);alert(list);// Ext.decode把字符串转换为对象数组list = Ext.decode( 阅读全文

posted @ 2013-12-25 10:56 小强有毒 阅读(355) 评论(0) 推荐(0)

摘要: getValues([asString], [dirtyOnly], [includeEmptyText], [useDataValues]) :String/ObjectRetrieves the fields in the form as a set of key/value pairs, using theirgetSubmitData()method to collect the values. If multiple fields return values under the same name those values will be combined into an Array 阅读全文

posted @ 2013-12-25 10:08 小强有毒 阅读(355) 评论(0) 推荐(0)