function getUrlParam(name) {//a標(biāo)簽跳轉(zhuǎn)獲取參數(shù)
? ? 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){
}