I want to be able to jump half way down a long page when the user posts a form to the page.
I have this working in Netscape 4+ on Mac and PC using
in the onLoad function, but have not managed to get it working on IE4.0x
I was hoping to use some sort of anchor jump, rather than scrolling, but using document.location='#step3' to jump does a GET to the page in IE4, rather than just scrolling the already loaded page, resulting in a fresh page, and the posted data being lost from the form I just posted to it.
Also, there are NO form input elements I can focus to (such as text, buttons etc) at the point I want to jump to, just an anchor and plain text. I don't want to add any stange visible elements such as buttons or text inputs.
I have tried the following:
- <form ... action="mypage.jsp#step3">
None seem to work in IE4.01 on the Mac... the closest I got was with step3.focus() but the window contents are all messed up.
The correct answer MUST work on IE4.01 on both the Mac and PC. Got Netscape covered :)
Awaiting with baited breath...