摘要: $.each(json,function(key,value){ ($.type(value)=='object')? $.each(value,function(k,v) { alert(k+'='+v); }):alert(key+'='+value);});来自:云淡然 阅读全文
posted @ 2012-05-25 14:57 时生 阅读(263) 评论(0) 推荐(0) 编辑
摘要: View Code Ext.onReady(function(){ Ext.state.Manager.setProvider(new Ext.state.CookieProvider()); Ext.lib.Ajax.defaultPostHeader = "application/x-www-form-urlencoded; charset=utf-8"; // data.jsp ={// "userList":[{"age":1,"name":"弄疯","password&quo 阅读全文
posted @ 2012-05-25 14:00 时生 阅读(353) 评论(0) 推荐(0) 编辑