代码如下: $(document).ready(function(){ function getQueryString(name) { var reg = new RegExp(“(^|&)” + name + “=([^&]*)(&|$)”, “i”); var r = [removed].search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } if (getQueryString(“S