iframe子页面让父页面跳转 parent.location.href

if ($roleNum < 9) {
    echo "<script > parent.location.href='admin_login.php' </script>";
    die();
}


onclick="parent.location.href='index.php' "

猜你喜欢

转载自www.cnblogs.com/tmdsleep/p/10953923.html