function getUrlParam(name) {//a标签跳转获取参数
var reg =new RegExp("(^|&)" + name +"=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (r !=null)return (r[2]); return null;
}
var action =getUrlParam('id');
if(action==null){
}
网友评论