[Javascript] Back Button Problem

Andrew Gibson andyg at ihug.co.nz
Fri Mar 30 13:47:39 CST 2001


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?
 
 > 




More information about the Javascript mailing list