Re: location.href and location.search

by wej(at)canada.com

 Date:  7 Apr 2000 11:23:48 -0700
 To:  hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
> Date: Thu, 6 Apr 2000 12:27:15 -0700 
> From: Mike Gilligan <mgilliga(at)standard.com>
> Subject: location.href and location.search (long but please help!)
> 
> I am using IE4 and IE5 and I'm having a bit of trouble.  I want to pass data
> between pages (w/out using cookies or the server, just a simple string that
> changes every page.)  I have escaped the string (to please the UNIX box we
> run on here) and I can get to the first page fine, with a URL something
> like:
> 
> http://mycompany.intranet.com/mydivison/outlook/highlight.html?Active%20%3D%
> 20Y%20%26%20Reservation%20Access%20%3D%20*gpmss*%2110


>     location.href = 'highlight.html?' + escape(x);

I just did something similar.

document.location is generally "read-only"; you can't change your location that way. You need to window.location to move to another page.

grace & peace

will

N.B.: To the list in general. Try to remember to edit down the quoted replies to the specific issues addressed. It makes things easier to read and follow than several pages of quoted replies. thanx

grace & peace
will

Member British Columbia Society of Model Engineers, Hosts of the IBLS2000 Meet of the Millenium. 
Visit our web site at <http://www.bcsme.org>
__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA