aspose file tools*
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Pass values b/w pages" Watch "Pass values b/w pages" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 42637
    
  65
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
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://radio.javaranch.com/pascarello/replyToComment.action?entry=1106063002000&comment=1123677947811
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pass values b/w pages