This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Using Popup Window to Update JSP Row Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Using Popup Window to Update JSP Row" Watch "Using Popup Window to Update JSP Row" New topic
Author

Using Popup Window to Update JSP Row

Ron Rea
Greenhorn

Joined: Jul 03, 2001
Posts: 23
Hello,
I am displaying several rows of data in a table on my web page. I need to be able to:
1) click a link/button and have a popup window appear with a textarea
2) allow the user to enter data into the textarea
3) send the data from the textarea back to the JSP and update that specific row's textarea property.
If anyone has done this, or know's how to do it, I would really appreciate that information.
Thanks!
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi Ron
here is a way to do it,
i guess that the main page where you are having a link is dynamic page(jsp/servlet/ may be asp :-)). right???
then what you need to just do is,
write a javascript method say 'callMe()' when the pop-up window's submit is clicked and do as follows,
function callMe() {
form.submit();
opener.location.reload();
window.close();
}
i hope u get the idea...
regards
maulin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Popup Window to Update JSP Row
 
Similar Threads
Discrepancy in closing popup window in Netscape & IE
popup window
Parent window refresh problem
help required in jquery
regarding refreshing the parent window