File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Frames" Watch "Frames" New topic



Joined: Oct 01, 2002
Posts: 1
I have two frames in my page. JSp in top and xml in the bottom frame.
on the button click of the top frame i want to refresh the bottom frame i.e. the xml page.
It would be great any one can resque me
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
Will this work?

In top frame:
<input type='button' value='Click to Refresh Bottom Frame' on_click='parent.frames[1].document.location.reload();'>
I agree. Here's the link:
subject: Frames
Similar Threads
Removing Top Frame Leaving Bottom Frame Intact
dynmic parameters via javascript
Removing Top Frame Leaving Bottom Frame Intact