Is there any way instead of a JS hack where I can post from an iframe to another page outside the iframe?

What it boils down to, it seems, is this: 1. You get a text url from a 3rd party in the iframe 2. You want to change your page's location to that url 3.

Unless you have control over that 3rd party, all you are going to get is that text url.

What it boils down to, it seems, is this: 1. You get a text url from a 3rd party in the iframe. 2.

You want to change your page's location to that url. 3. Unless you have control over that 3rd party, all you are going to get is that text url.

Now, the only way to change your page's location automatically is with window.parent. Location (or window.location. ) If changing the url of the page with javascript is not PCI compliant then you're trying to do something that is not PCI complicant.

Accepts a target parameter, e.g. Target="_parent.

The iframe is posting data to a 3rd party and then just responding back with a URL which is the redirection URl thus we cannot set the form target. – Murtaza Mandvi Oct 7 '08 at 21:03 How do you mean "responding back"... it gives a 301 or 302, or actually returns the URL as JSON / XML / something else? – Greg Oct 7 '08 at 21:36.

In an anchor tag you can set target='_parent' this will cause the url to be loaded into the parent window.

The iframe is posting data to a 3rd party and then just responding back with a URL which is the redirection URl thus we cannot set the target. – Murtaza Mandvi Oct 7 '08 at 21:04.

Yes - since a parent. Location is just like calling an entirely new URL in the browser. – Murtaza Mandvi Oct 7 '08 at 21:01.

No, the only way is by using javascript. But it's not really a hack to use window.parent. Location = url.

We are PCI compliant and thus we cannot use that. – Murtaza Mandvi Oct 7 '08 at 21:26.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions