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

前端 未结 8 1801
名媛妹妹
名媛妹妹 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:39

    You are not able to achieve the desired effect in PHP. This is something you'd have to do from JavaScript or add target attribute to

    :

    
    

提交回复
热议问题