Forum Moderators: open

Message Too Old, No Replies

Targeting an Iframe from an external html FORM

         

ThreeSwords

6:40 am on Mar 21, 2010 (gmt 0)

10+ Year Member



I'am iframing an external html page.
This external page only contains a FORM and i would like to TARGET the iframe.

i tried thing like
target="window.parent.myframe"
target="window.parent.frames['myframe']"

but it did not work...

Any idea why? And any idea how i can make it work?

tedster

6:43 am on Mar 21, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello ThreeSwords, and welcome to the forums.

I don't think you even need to include a target attribute. If the form is in the iframe, any changes would also load within that iframe by default.

ThreeSwords

7:03 am on Mar 21, 2010 (gmt 0)

10+ Year Member



I knew it and i even did it in previous website, but i found so many forums talking about target="window.parent.myframe"

was so simple

Thank you !