467,075 Members | 1,070 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,075 developers. It's quick & easy.

window.open in same frame?

rlo
I have a test in a frame called FrameTest.htm. For the results there is a
Javescriptfunction. When a button is clicked the function must work in the
same frame. Now I use:
var correctWin = window.open('','','top=0,left=0,scrollbars=yes');
but a new window is openend, but I want to use the same frame.
How can I change my script.
Ronald.
Jul 23 '05 #1
  • viewed: 4887
Share:
1 Reply
rlo wrote:
I have a test in a frame called FrameTest.htm. For the results there is a
Javescriptfunction. When a button is clicked the function must work in the
same frame. Now I use:
var correctWin = window.open('','','top=0,left=0,scrollbars=yes');
but a new window is openend, but I want to use the same frame.
How can I change my script.


Set the location property of the frame you want to change instead of
trying to use window.open

search the archives for "changing source of a frame"

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Tim Williams | last post: by
10 posts views Thread by Scott | last post: by
14 posts views Thread by Frances Del Rio | last post: by
33 posts views Thread by randau | last post: by
3 posts views Thread by Stephen Witter | last post: by
18 posts views Thread by len.hartley@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.