标签:ar io sp on bs cti amp as new
(function($) { $.getUrlParam = function(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; }; })(jQuery); var nameVlaue=$.getUrlParam(name); //如有需要改为纯js的也可以
标签:ar io sp on bs cti amp as new
原文地址:http://my.oschina.net/oospace/blog/356557