Topic awaiting preservation: self.location not working |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Charles River |
posted 05-31-2002 02:22
In some part of my code, I use: |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 05-31-2002 03:21
yeah the location in "self.location" is not actually a single property but a whole other object. Most browsers allow you to shorthand this but apparently if it has a choice it gives back the self.location.search string instead of the self.location.href property. |
Maniac (V) Inmate From: Charles River |
posted 05-31-2002 08:27
It didn't work. |
Maniac (V) Inmate From: Charles River |
posted 05-31-2002 09:10
I'm using this now: |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-31-2002 11:38
Hmm, I always use something more like self.location.href="url I want to go to"; - never do I use just self.location all by itself, I always thought it needed the 'href' part, on both sides of the equation. It's been working in all browsers for me for years now. |
Maniac (V) Inmate From: Charles River |
posted 05-31-2002 16:09
I've just tried: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 05-31-2002 20:08 |
Maniac (V) Inmate From: Charles River |
posted 05-31-2002 21:58
Hi mr.maX. |