| Author |
page refresh , have to use ajax
|
Sekhar Chand
Ranch Hand
Joined: Apr 05, 2006
Posts: 73
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
|
Moved from JSP to HTML/Javascript where client side issues are discussed.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
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
|
 |
 |
|
|
subject: page refresh , have to use ajax
|
|
|