Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes Passing variable Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 15357
    
    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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Passing variable
 
Similar Threads
C++ish Address &
passing arguments
how to pass java instance variable to jasper report
How to pass JavaScript variable value to JSP variable
jsp and java bean