Home Send POST data on redirect with Javascript/jQuery to a top level iframe?
Reply: 1

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

RayZor
1#
RayZor Published in 2013-09-27 14:19:28Z

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

RayZor
2#
RayZor Reply to 2013-09-27 14:29:35Z

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

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.314913 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO