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
JavaRanch » Java Forums » Java » JSP
Bookmark "Using Popup Window to Update JSP Row" Watch "Using Popup Window to Update JSP Row" New topic

Using Popup Window to Update JSP Row

Ron Rea

Joined: Jul 03, 2001
Posts: 23
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.
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1873
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() {
i hope u get the idea...
I agree. Here's the link:
subject: Using Popup Window to Update JSP Row
It's not a secret anymore!