2013年10月3日
摘要: 跳转前:window.open("http://localhost:9728/content/agent/devolution.html?search_agent=" + encodeURIComponent(va));取:下面是解码的方法:function Utf8ToUnicode(strUtf8) { var bstr = ""; var nTotalChars = strUtf8.length; // total chars to be processed. var nOffset = 0; ... 阅读全文
posted @ 2013-10-03 18:54 LitDev 阅读(491) 评论(0) 推荐(0) 编辑
摘要: function getQuery(name) {var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");var r = window.location.search.substr(1).match(reg);if (r != null) return unescape(r[2]); return "";} 阅读全文
posted @ 2013-10-03 18:49 LitDev 阅读(419) 评论(0) 推荐(0) 编辑