摘要:
=====================Ext.onReady(testJosonString() );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(str);alert( 阅读全文