Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I pass a form to a pop up

 
Jay Abrahm
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a pop up confirmation jsp page where the user is asked to enter his name and confirm/cancel but once I hit the pop up I no longer can do a document.forms[0].submit() since the initial form is not available.

So what is the best practice ? Send the form to the pop up jsp (can this be done) or save the form in the session ?


 
Haina Minawa
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Call the form on the page that opens the popup (the "opener"):

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic