javascript sending variable



Hi,

Is there a way to send a variable to a different page that it is
redirecting to? For example,

<script type="text/javascript">

var o;
if ( (o = top)
&& (o = o.frames)
&& (o = o.bob)
&& (o = o.document)
&& (o = o.title)
&& o == "test"
){
document.write("yes")
} else {
document.location.href = "New Text Document.php "
}
</script>

If it is false, I would like it to set a variable that it will send to
the page "New Text Document.php" (that it is redirecting to). Is this
possible?

Dan

.



Relevant Pages

  • Re: javascript sending variable
    ... > var o; ... although I would have spared the last assignment:) ... Err, spaces are _not_ allowed within URIs. ... > the page "New Text Document.php" (that it is redirecting to). ...
    (comp.lang.javascript)
  • Re: Does Microsoft Need a New Source Code for the Future?
    ... On Mon, 28 Jul 2008 16:21:20 GMT, Root Kit wrote: ... Redirecting ahuma.com is not a sign ... Where are you Dan? ... Life would be so much easier if we could just look at the source code. ...
    (microsoft.public.security)
  • Re: Can ME be upgraded to XP?
    ... course you had some ulterior motive for redirecting people to that forum.. ... > ANOTHER of my posts on how I personally feel about upgrading to XP, ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: [OT] Whoa... Google interface?
    ... > I just went to www.google.co.uk, and found that it was redirecting ... > which is an ugly uber-minimal site without many of the links I use ... - Gerry Quinn ... Prev by Date: ...
    (comp.programming)
  • Re: Hmmm, verrrry interesting
    ... >> the other advantage of using a full url is in case the redirecting ... i know this may be hard for you to believe, but some people post links to ... Prev by Date: ...
    (comp.sys.mac.advocacy)