View Full Version : Sending a variable to another page

02-20-2007, 01:00 PM

I have a little problem here. Im trying t send a variable from one document to the other. Its like this.

I have a page with a input textfield and a button that opens a new window.

In the new window there is another button. When this button is pushed I want a variable for instance 10 To be send and displayed in the Input textfield of the previous window (USING JAVASCRIPT).

Could anyone help me out a bit? This is a little experiment of mine, if I manage to get this done, this will open up many new possibilities for me!

Thank you in advance,


02-20-2007, 10:19 PM
You mean the opener of the popup gets a value?

For most field types, this would work.

02-20-2007, 10:36 PM
I apologize that I'm not completely aware of how this works, or even if it can be done in javascript, but you could try putting it in the url, like so: