标签:pre rms bsp name exp mat get this match
String.prototype.getParms=function(name){
var reg = new RegExp(‘(^|&)‘ + name + ‘=([^&]*)(&|$)‘, ‘i‘);
if(this.match(reg))
return this.match(reg)[2];
else
return ‘‘;
};
标签:pre rms bsp name exp mat get this match
原文地址:http://www.cnblogs.com/web-fusheng/p/7436118.html