In my ASP.NET codebehind I have the following code to jump to a certain
section of the page:
---
Dim strAnchorScript As String = "<script language='javascript'>" & _
"window.location.hash='#" & strLink & "'</script>"
Page.RegisterStartupScript("anchorScript", strAnchorScript
---
In IE when it loads the page it jumps to a certain section of the page.
For firefox it just loads the page. But if I refresh the page in
firefox it jumps to the the section I want.
So, how do I get this to work in firefox (to use
Page.RegisterStartupScript and to jump to a certain place on the page)?
This seems like the easiest way to jump to a certian page.
Please post your answer here (no emails) and no flames.
Thanks for you help!