摘要:
一、取URL中的参数function getParameterByName(name) { var match = RegExp('[?&]' + name + '=([^&]*)') .exec(window.location.search); return match && decodeURIComponent(match[1].replace(/\+/g, ' '));}二、正则分组ar testStr="<div><img src='/a.jpg' alt= 阅读全文
posted @ 2012-07-25 22:15
Xiaofu915
阅读(556)
评论(0)
推荐(1)
浙公网安备 33010602011771号