PHP “header (location)” inside IFRAME, to load in _top location?

前端 未结 8 1791
名媛妹妹
名媛妹妹 2020-12-03 10:20

I have a simple form which is inside IFRAME. When user click on SUBMIT, it redirects to a specific page on my server. The function I use for the redirect is



        
8条回答
  •  孤城傲影
    2020-12-03 10:51

    we can use javascript like this :

    target.window.location='locationpage.html';
    top.window.location='mypage2.html';
    

提交回复
热议问题