我选择单选按钮后尝试在iframe中打开一个链接,但它显示为空白。
<form target="myIframe" style="display:inline;" name="cashDonation" id="cashDonation" action="https://www.paypal-donations.com/pp-charity/PayPalDonationController" method="POST" onsubmit=return submitDonation();>
<iframe name='myIframe' src="" width="1000" height="1000"></iframe>
这里是完整的代码:
答案 0 :(得分:0)
由于来源不同,您无法将PayPal加载到iframe中。这是出于安全原因。