[Javascript] Back Button Problem

ian turner ian.turner at romseyassoc.com
Sun Apr 1 15:13:04 CDT 2001


I am getting no problems with window.location="#top" in IE5.1

Back button appears to work okay on your test page, only problems occur with
the
location.replace().

But I thank you for pointing this one out to me as it may solve a lot of my
back button problems.

All the best
	Ian

> -----Original Message-----
> From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
> Behalf Of Andrew Gibson
> Sent: 30 March 2001 20:48
> To: javascript at LaTech.edu
> Subject: RE: [Javascript] Back Button Problem
>
>
> Thanks, I tried that and still not working.
>
> I set up a test page so I know it's not other code on
> the page not working...but I know there must be
> something I've done wrong!
>
> http://www.zapcom.co.nz/goingout/test.asp
>
> Andrew
>
>
>
>  > Try using window.location.replace('#top') rather than
>  > window.location="#top"
>  >
>
>  > > Have bit of a problem after submitting a form
>  > > to an asp page.
>  > > Thru out the first page, I have a links showing
>  > > and hiding layers. Part of that is that
>  > > I take the user to the top of the page.
>  > >
>  > > window.location="#top"
>  > >
>  > > But when I submit a form to a different page, the back button
>  > > wont work properly.
>  > > When I comment out the
>  > >   //window.location="#top"
>  > >
>  > > the back button works fine.....
>  > >
>  > > so i guess I need to remove the window.location="#top"
>  > > after, it takes the user to the top of the page, how
>  > > do I do that?
>
>  >
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list