Reputation: 2038
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!
Upvotes: 4
Views: 4201
Reputation: 166076
I think you're looking for target="_top"
<form action".." target="_top">
</form>
Upvotes: 8