$12256 / $11500
I have a static html page that will open an other static html page in a _blank new browsertab. Is there an easy way to hand over a certain variable value to a script in the second file?
I know I could access self.parent.variablename if the new page was opened by window.open. But it's opened by <a href> (window.open is a popup, which I don't want to rely on). Isn't there any support vor variables in the URL? thanks.
Is accessing the GET variables through window.location.href an option?
--Medicine Storm
works perfectly, thanks! tested local access and apache over localhost in opera, not expecting problems with other browsers.
Calling http://www.myserver.com/test.html?someparameter
does load the page, just like
Calling http://www.myserver.com/test.html
only.
In the file tho, a document.write(window.location.href);
shows the entire URL, including the parameter.
And now to process this string in js is easy.
Thanks!
Glad that was helpful. Welcome to OGA. :)
--Medicine Storm