|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
window.opener target
Hi,
I oopned window2 from window1. window1 contains frames and one of the frame is "main". Now I need to send some data on clicking button which has to be shown in "main" in window1. how to refer the required frame, which is an asp page |
|
#2
|
|||
|
|||
|
RE: window.opener target
the following onClick event should do it for you.
onClick="window.opener.parent.main.location.href('main2.htm ') here is a breakdown... window - a reference to the second window opener - a reference to the first window that opened the second window parent - a reference to the first window document main - a reference to the frame "main" in the first window location.href - the url you want loaded in "main" you can add querystring variables to the url to pass back to your asp page if you need to. Hope that helps. |
|
#3
|
|||
|
|||
|
RE: window.opener target
yah it's working... thanx
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > window.opener target |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|