PHP + POST an HTML form from inside an iFrame and

2019-02-18 07:21发布

I'm wondering if it's possible to do the following: have an iFrame inside of an HTML page. Inside the iFrame, I have a 'Pay with PayPal' button. When that button is clicked, and thus the HTML form is submitted to PayPal, I want the parent page to redirect to PayPal, rather than just the iFrame. Is this possible?

Thanks!

1条回答
\"骚年 ilove
2楼-- · 2019-02-18 07:46

I think you're looking for target="_top"

<form action".." target="_top">
</form>
查看更多
登录 后发表回答