This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Passing variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Passing variable" Watch "Passing variable" New topic
Author

Passing variable

Prashil Wasnik
Greenhorn

Joined: Apr 18, 2006
Posts: 19
Hi,
How can i pass the variable between 2 HTML pages using javascript, my limitation is i don't have server side and the parameter which i want to pass is contain around 10K of text.
Ashish K Sharma
Ranch Hand

Joined: Aug 22, 2006
Posts: 31
Hi,
if you are opening the child window from parent window you can get the value by saying "window.opener.document.getElementById("varToPass").value".

Let me knwo if you have some other requirement.

Ashish
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Are these windows on the same machine or different machine. If same, you have a pop up window. If different, break out email.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing variable
 
Similar Threads
How to pass JavaScript variable value to JSP variable
C++ish Address &
how to pass java instance variable to jasper report
jsp and java bean
passing arguments