RayZor
RayZor

Reputation: 665

Send POST data on redirect with Javascript/jQuery to a top level iframe?

This question refers to: Send POST data on redirect with Javascript/jQuery?

The solution for the problem was to generate a hidden form which is then submitted to handle the POST + redirect - however I will be generating the page in an iframe and redirecting the parent frame - is this possible with javascript?

edit: As is always the way came across the solution shortly after posting the question! =S

Upvotes: 0

Views: 717

Answers (1)

RayZor
RayZor

Reputation: 665

Set target="_top" in the iframe's form tag. That tells the browser to load the response in the parent frame.

Upvotes: 3

Related Questions