This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 41124
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.

Ping & DNS - my free Android networking tools app
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: 15376
I agree. Here's the link:
subject: Pass values b/w pages
Similar Threads
Struts Errors
How to pass the parameter values to the servlets?
Arrays in Applets
Useing IN clause in named/native query
how 2 servlets communicates