Try using window.location.replace('#top') rather than window.location="#top" > -----Original Message----- > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On > Behalf Of Andrew Gibson > Sent: 30 March 2001 14:31 > To: javascript at LaTech.edu > Subject: [Javascript] Back Button Problem > > > 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? > > Andrew > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > http://www.LaTech.edu/mailman/listinfo/javascript