Hello all,
On the OnLoad event, I need a page to jump to a named anchor without reloading the page. I'm not having any luck with the following code:
Can someone please tell me what I'm doing wrong and how I might get this to work --- thanks!!!
Sarah
On the OnLoad event, I need a page to jump to a named anchor without reloading the page. I'm not having any luck with the following code:
Code:
<body onLoad=javascript:window.location.hash='#storeloc1'">
<a name="storeloc1">Jump to this anchor</a>
Can someone please tell me what I'm doing wrong and how I might get this to work --- thanks!!!
Sarah