摘要: 闲着无聊用正则做了一个获取URL参数的小算法^_^function getParam(name) { var objs = window.location.search.match("(\\?|&)" + name + "=(.*\?)(&|\$)"); if (objs) { ... 阅读全文
posted @ 2014-06-12 10:58 TiestoRay 阅读(339) 评论(0) 推荐(0) 编辑