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

page refresh , have to use ajax

 
Sekhar Chand
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai friends,
in one jsp page after 40 fieldswill be there .After entering 4 fields one link(add new client) will be there , by clickng that link one pop up window will opens , after submitting form in that popup window that window closes and in the parent window, the result must be added into the list box .

here i am not getting idea to refresh that parent wiondow after closing the window and the 4 fields that which i entered before clicking the link must be there only after refreshing that page.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved from JSP to HTML/Javascript where client side issues are discussed.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ratna sekhar Kamireddy:

here i am not getting idea to refresh that parent wiondow after closing the window and the 4 fields that which i entered before clicking the link must be there only after refreshing that page.


That makes no sense, but I will try to make sense of it.

You can refresh the page with one line in the child

window.opener.location.reload();

You can send a new value from the pop up window to the parent

window.opener.formName.elementName.value = parseInt(window.opener.formName.elementName.value) + myVariable;

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic