This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Frames Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Frames" Watch "Frames" New topic
Author

Frames

SampathSwami
Greenhorn

Joined: Oct 01, 2002
Posts: 1
Hi,
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
Cheers,
Sampath
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: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Frames
 
Similar Threads
dynmic parameters via javascript
scrollbar
Removing Top Frame Leaving Bottom Frame Intact
Removing Top Frame Leaving Bottom Frame Intact
print