View Full Version : Want to pass variable to another page

04-27-2008, 04:50 PM
I want to pass an image variable to another window. I call an image when I click a button and want that image to show up when I click another button to navigate to a new window.
Is this possible? Do I just call it the same thing :document.image1.src

Does it go in the j.script or in the header or in the markup?:confused:


04-27-2008, 07:52 PM
You can do that by submitting a form.
It could be a hidden form as well that the user does not know that there is a form on the page.

Like this:

<a href="www.somepage.com" onclick="myform.submit();return false;">Click here!</a>