File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Pass values b/w pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Pass values b/w pages" Watch "Pass values b/w pages" New topic

Pass values b/w pages

Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Hi all,
Is there any way to pass some values to a webpage ( Pop up ) without using a query String ?

Hidden Text Fields are one way .. any thing else ?

Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
After opening your popup, you can call a JavaScript function in the page and pass along all required parameters. Or a JS function in the popup can collect the values from a form in the main window, which contains the parameters in hidden fields.
Garann Means
Ranch Hand

Joined: Jan 28, 2002
Posts: 214
Maybe a Javascript cookie? I haven't done that in a long time, but I assume it still works...

Here's a reference.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
subject: Pass values b/w pages
It's not a secret anymore!