Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing variable

 
Prashil Wasnik
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these windows on the same machine or different machine. If same, you have a pop up window. If different, break out email.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic