Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old March 13th, 2004, 06:34 AM
kadapa22 kadapa22 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 kadapa22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to kadapa22
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

Reply With Quote
  #2  
Old March 13th, 2004, 01:44 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
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.

Reply With Quote
  #3  
Old March 24th, 2004, 03:25 AM
kadapa22 kadapa22 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 kadapa22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to kadapa22
RE: window.opener target

yah it's working... thanx

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > window.opener target


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway