Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Popup Window to Update JSP Row

 
Ron Rea
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic