[Javascript] Back Button Problem

Andrew Gibson andyg at ihug.co.nz
Fri Mar 30 07:31:11 CST 2001


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




More information about the Javascript mailing list