Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

input from a new window  RSS feed

 
Soni Prasad
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
In my jsp on click of a button I want to popup a new(child) window to get inputs. Other then some input fields the new window will have a submit button which should submit all the inputs to the original(parent) window. How can I provide a submit button in new(child) window which will submit values to the original(parent) window and how can I refer those input values in the original(parent) window. Please help me with some example.

Thnks,
Soni.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
submit as it actually submits a form to the paretn or submit as we pass the values to the parent so JavaScript is able to use them.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!