jqeury eval 字符串 转换json
摘要:前台页面$.ajax({ type: "post", contentType: "application/json", url: "../WebForm1.aspx/GetRightsStr", dataType: "json", success: function (msg) { alert(msg.d); var data = eval("(" + msg.d + ")"); $.each(data.rights, function (index, item) { ale
阅读全文
posted @ 2011-06-19 10:02