regExp汇总

1.获取localtion地址字符串截取参数

location.href.match(/app=([^&]*)(&|$)/i);

猜你喜欢

转载自www.cnblogs.com/qinxuhui/p/12213343.html