摘要: 代码如下:function getParameterByName(name) { var match = RegExp('[?&]' + name + '=([^&]*)') .exec(window.location.search); return match ? decodeURIComponent(match[1].replace(/\+/g, ' ')) : null; } 阅读全文
posted @ 2011-03-08 15:12 T#S 阅读(218) 评论(0) 推荐(0) 编辑