This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Passing variable" Watch "Passing variable" New topic

Passing variable

Prashil Wasnik

Joined: Apr 18, 2006
Posts: 19
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
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.

Eric Pascarello

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

I agree. Here's the link:
subject: Passing variable
It's not a secret anymore!