• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page Reload / Frame

 
Manoj Zachariah
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to open a jsp page in the same browser window / not in a frame. The problem is that my button (which does the reload) is in a frame, so only the frame reloads.
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
on mouse click use:
window.location.href="/myJsp.jsp";
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thinking this is what you want.....
parent.window.location.href = "URL"
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prakash's will only reload the frame.....
 
Manoj Zachariah
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic