Click to See Complete Forum and Search --> : email form - specify target window for redirected pages


bagpuss03
05-10-2007, 02:21 PM
Hi there,

I have set up an email form which runs from an iframe. The only problem is that when the script redirects the user to the success or error pages, these pages open within the iframe. Is there a way to specify the target window as 'parent'? Someone said that this could not be done via the php script and would have to be done with javascript in the html form itself.

How would I do this?

Any advice is appreciated.:)

Weedpacket
05-10-2007, 05:42 PM
It's HTML; set the link's target attribute to "_parent".