Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-22-2003, 06:10 PM   PM User | #1
nnichols
New Coder

 
Join Date: Apr 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
nnichols is an unknown quantity at this point
clearInterval() in parent window

I have an interval running in a window which opens a child window. How can a clear that interval from the child window?

I have tried -

clearInterval(opener.myInterval);

but it doesn't seem to work.

TIA

Nick
nnichols is offline   Reply With Quote
Old 10-22-2003, 06:12 PM   PM User | #2
liorean
The thread killer


 
Join Date: Feb 2003
Location: Umeå, Sweden
Posts: 5,575
Thanks: 0
Thanked 84 Times in 75 Posts
liorean will become famous soon enoughliorean will become famous soon enough
How does opener.clearInterval(opener.myInterval) do?
__________________
liorean <[lio@wg]>
Articles: RegEx evolt wsabstract , Named Arguments
Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards
liorean is offline   Reply With Quote
Old 10-22-2003, 06:15 PM   PM User | #3
nnichols
New Coder

 
Join Date: Apr 2003
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
nnichols is an unknown quantity at this point
Cheers. That worked a treat. Can't believe I couldn't figure that one out myself.

Cheers again
nnichols is offline   Reply With Quote
Old 10-22-2003, 06:17 PM   PM User | #4
fredmv
Regular Coder

 
Join Date: Jul 2003
Location: Massachusetts
Posts: 472
Thanks: 0
Thanked 0 Times in 0 Posts
fredmv is an unknown quantity at this point
Oops. Answered too late.
__________________
Moderator @ WebDeveloper.com
Mentor @ WebXpertz.net
fredmv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:30 PM.


Advertisement
Log in to turn off these ads.