...

View Full Version : form hidden field redirection to parent page



tpeck
03-03-2012, 04:05 PM
I have a form in an iframe that submits nicely. Here is one of the hidden fields that gives the page to redirect to after submitting the form:



<input type="hidden" name="rtrn" value="http://www.domain.com/thanks.html" target="_parent">


The parent target doesn't work, does anyone know how I get the thanks page to replace the page containing the iframe?

glenngv
03-03-2012, 04:29 PM
The target attribute only works in anchor links and forms. Try adding it to the form tag.

tpeck
03-04-2012, 10:29 PM
Yes, thanks that worked.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum