permaculture playing cards
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 Elasticsearch in Action this week in the Big Data 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