Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

target of an opened window ??

Status
Not open for further replies.

iza

Programmer
Apr 4, 2000
1,804
FR
can someone help ?<br>page1 opens a window (say, msgwindow) in which i have a form - i wish the form.action to be page1 but i don't know how to set te target so that it's also the frame in which page1 is<br>i've tried<br>&lt;form action=&quot;page1.cfm&quot; target=msgWindow.opener.name&gt; but it doen't work ...<br>any idea ???<br>
 
sorry, but do you mind rewording the question...?<br><br><A HREF="mailto:jared@aauser.com">jared@aauser.com</A>
 
i don't ;)<br>but i'm not sure it'll be better ;))<br><br>page1 is in a frame and page1 opens msgwindow<br>msgwindow contains a form<br>i want the form results displayed in the frame in which page1 was<br><br>(something like &lt;form action=&quot;anyurl.htm&quot; target=&quot;the frame of the opener !!!&quot;&gt; - <br>target=&quot;_parent&quot; or target=&quot;opener.name&quot; doesn't work)<br><br>but i managed to do this another way - so if nobody understands what i mean i don't care : my page works fine now ;)) - but i still wonder if this is possible in the way i wanted it to b<br><br><br><br><br>
 
I don't think so. I would retrieve the data in the frame where the form is, then place whatever data you retrieved in the 'target' frame<br><br><br><A HREF="mailto:jared@aauser.com">jared@aauser.com</A>
 
ok ! i could have searched for a while ;)))<br><br>(the point was that the form was not in ANY frame - it was in a message window i had just opened)<br><br>if anyone cares :<br>actually what i do is that i don't &quot;submit&quot; the form<br>instead of using the action stuff + the input type=submit; i have set a input type=button with onclick=&quot;opener.the_function_i_wanted_to_run()&quot;<br>as opener is in the frame in which i want the result to b displayed, that does the trick<br><br>but maybe nobody needs such a weird thing - as nobody sets such a weird web site ;)))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top