代码如下:[removed] function ChangeParam(name, value) { var url = [removed].href; var newUrl = “”; var reg = new RegExp(“(^|)” + name + “=([^&]*)(|$)”); var tmp = name + “=” + value; if (url.match(reg) != null) { newUrl = url.replace(eval(reg), tmp); } el