or:
location.hash = "end";
May have to prefix end with # can't remember and am away from reference.
Regards
Joe Fawcett
>From: Greg Griffiths <griffiths@x...>
>Reply-To: "javascript" <javascript@p...>
>To: "javascript" <javascript@p...>
>Subject: [javascript] Re: go to label
>Date: Tue, 11 Sep 2001 22:23:50 +0100
>
>try document.location="mypage.html#end"
>
>At 20:49 11/09/01 +0000, you wrote:
>>Hi
>> I have a <A NAME="end">...</A> tag at the bottom of a page.
>>
>> I wish to go to it "onLoad" - what JavaScrpit will take me to it
>>please
>>
>> Either
>> The onLoad command within the body tag
>>
>> or
>>
>> The command within a JavaScript function
>>
>> or even both <g>>
>>
>>
>> Please dont tell me to use it in the URL, 'cos with a QueryString
>>after it
>>
>> like
>>
>> dummy.asp#end?ind=123
>>
>> it does not work for some reason
>>
>>
>>Thanks in advance - I hope
>>Pete (Northolt UK)