JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old May 22nd, 2003, 10:51 AM
Jacks Jacks is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 12 Jacks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question reload parent window

Hi

I'm using the folowing to refresh a parent window from a pop up before the pop up close.

window.opener.location.reload();

it works fine for IE6 but i get an error running it in IE5. Does anyone know of some code that will work for both? The parent window is a frame, if that makes a difference.

Thanks for any help!

Reply With Quote
  #2  
Old May 27th, 2003, 06:30 AM
AndiG AndiG is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 AndiG User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I've not tried it Jacks, but I can't see why this wouldn't work. Of course it would need the parent window to be one of yours and not from another site though.

Why not have a function in the parent window that refreshes the window and then call window.opener.RefreshWin(); - I'm sure IE5's DOM shouldn't have much trouble doing that.

If that doesn't work, it may be because it's a Modal Window (IE 5 has opener issues with Modal Windows). If thats the case, let me know and I'll try to provide a work around for that.

--Andi

Reply With Quote
  #3  
Old May 11th, 2004, 06:27 PM
nedrich nedrich is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 2 nedrich User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

I'm having the same issue, but rather than a normal child window, I'm trying to autorefresh a parent window from a MODAL child window. Any suggestions?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > reload parent window


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