• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Popup Window to Update JSP Row

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic