Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
04-27-2008, 04:50 PM #1
- Join Date
- Mar 2008
- Thanked 0 Times in 0 Posts
Want to pass variable to another page
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?
04-27-2008, 07:52 PM #2
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.
Code:<a href="www.somepage.com" onclick="myform.submit();return false;">Click here!</a>