日期:2014-05-16 浏览次数:20374 次
var obj = "([{name:'think',gender:'male'},{name:'lee',gender:'female'}])"; var ss = eval(obj); alert(ss[0].name+","+ss[1].name);
?