摘要: 解决方法一: var jsons = req.responseText; var s; if (typeof(JSON) == 'undefined'){ s = eval("("+jsons+")"); }else{ s = JSON.parse(jsons); } 解决方法二:调用的页面里引用json2.js即可解决问题(推荐方法二)。即:json2.js的下载地址:http://download.csdn.net/detail/icexuan007/4896080转自:http://blog.csdn.net/icexuan007/ 阅读全文
posted @ 2013-11-25 14:02 mrma1989 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: jQuery.cookie = function(name, value, options) { if (typeof value != 'undefined') { options = options || {}; if (value === null) { value = ''; options = $.extend({}, options); options.expires = -1; } var expires = ''; if (options.expires && (typeof options.expires == 阅读全文
posted @ 2013-11-25 12:57 mrma1989 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' 阅读全文
posted @ 2013-11-25 10:20 mrma1989 阅读(5597) 评论(0) 推荐(1) 编辑