File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Frames

 
SampathSwami
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will this work?

In top frame:
<input type='button' value='Click to Refresh Bottom Frame' on_click='parent.frames[1].document.location.reload();'>
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic