Ooops...

I was assigning a value to it:
location.replace = 'someurl.html';

rather than using it as a method:
location.replace('someurl.html');

it works when I use it right.

:) 

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Tuesday, December 11, 2007 11:31 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: OT: Browser history object and the back button


I'm actually trying that right now and it's not working in my basic testing.


-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Price
Sent: Tuesday, December 11, 2007 11:11 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: OT: Browser history object and the back button


Could you use location.replace instead of location.href? It'll do the same
thing but overwrites the current record in the browser history instead of
making a new one, AFAIK.

Regards,
Michael PRice



Reply via email to