Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iframe 内で、サード パーティの Web サイトでユーザーにクレジット カードの支払い情報を検証させます。検証時に、ページはアプリケーション内の事前定義された URL にリダイレクトされます。ただし、iframe 自体内でこの URL に POST します。必要なページにリダイレクトするクリーンな方法はありますか? または、iframeの「アウト」リダイレクトを行う中間ページを使用する必要がありますか?
戻ってきたページに次の JavaScript を挿入してみてください。
window.parent.location = url;