[Javascript] two frames, two hrefs

David Yee dyee at AMSResponse.com
Wed Jan 9 13:13:30 CST 2002


Thanks for the response Peter.  Is it possible to call that link in frame A
instead of doing a reload() of frame A?  The behavior I've set for reloading
the page is a little different than the "Refresh" link.

David

> -----Original Message-----
> From: Peter Brunone [mailto:peter at brunone.com]
> Sent: Wednesday, January 09, 2002 10:59 AM
> To: javascript at LaTech.edu
> Subject: Re: [Javascript] two frames, two hrefs
> 
> 
> David,
> 
>     If I understand you correctly, the following should work 
> (just make sure
> it runs in the frame B page when you display the completed message):
> 
> top.frames.B.location.reload();
> 
> Cheers,
> 
> Peter
> 
> ----- Original Message -----
> From: "David Yee" <dyee at AMSResponse.com>
> To: <javascript at LaTech.edu>
> Sent: Wednesday, January 09, 2002 11:21 AM
> Subject: [Javascript] two frames, two hrefs
> 
> 
> | Hi all.  Let's say I have 2 frames, A and B.  I have a link 
> (let's say
> link
> | 1) in frame A that has target=B, which is what I want.  But 
> how do I also
> | have another link (link 2, target=A) in frame A 
> "clicked-on" automatically
> | when I click on link 1?  Basically I have written a PHP 
> application that
> | displays a file listing in frame A with a "delete this 
> file" link next to
> | each file name.  In frame A I also have a "Refresh" link.  
> So when I click
> | on the "delete this file" link a message is displayed on 
> frame B but I
> also
> | want the "Refresh" link to automatically execute.  That way 
> I don't have
> to
> | manually click on "Refresh" to update the file listing 
> after I've deleted
> a
> | file.  Thanks for any help!
> |
> | David
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> 



More information about the Javascript mailing list