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

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


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

 

posted @ 2019-05-31 10:35  TMD睡觉  阅读(4836)  评论(0编辑  收藏  举报