Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

pop up jsp page not getting refreshed  RSS feed

 
Ekta Matani
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi ,

I want to refresh a child window which is a jsp page when it gets loaded ,the problem is child window gets open up but it has to be explicitly refreshed by pressing F5 key to see the required result.

The following java script i have used to acheive this task,

function openWin(url)
{
var newWin = window.open(url,'popup','menubar=0,resizable=0,width=750,height=380,scrollbars=yes');
newWin.focus();
}


i am calling this function from parent jsp page on onklick event.

<html:submit property ="submit_find" styleClass="button" onklick="openWin('search.jsp');" >

Is there anything wrong with javascript or i have to put some additional things on jsp.
Plz help me to do this.
its urgent.
Thank u,
Ekta
 
Raghu Shree
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Report post to moderator
This Query is not related to scjp. Please try to post it to right forum.

Hope follwing snippet is useful for you.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Report post to moderator
Moving to JSP forum...
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
ekta matani, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!