window.location=pp+"?username="+getCookie("username")+"&userid="+getCookie("userid");
替换
document.write("<form action="+pp+" method=post name=formx1 style='display:none'>"); document.write("<input type=hidden name=username value='"+getCookie("username")+"' />"); document.write("<input type=hidden name=userid value='"+getCookie("userid")+"' />"); document.write("</form>"); document.formx1.submit();
时间: 2024-10-21 20:58:35