to automatically jump to an anchor use the location hash:
  window.location.hash="there";

by(e)
Stephan


2009/1/29 pejot <pjonar...@gmail.com>:
>
> Hi,
>
> I have quite complex page with internal link inside.
> < a href="#there" id="jump"> Jump</a>   and <a name="there" ></a> far
> a way on bottom page.
>
> When I click a link Jump page jumps to specific < "there"> place.  It
> is fine.
>
> Case is that "click" should be done from jquery code...
> I put code $("#jump").click();  and it seems to work because function
> from $("#jump").click( function () { alert('Hi'); } ); is fired and
> alert Hi is displayed.
> Unfortunnately page is not moved to a new position. #there is not join
> to page address.
>
> Do you have any idea why it no jumps to xxx label?
> regards,
>
> Piotr
>
>
>
>
>
>
>

Reply via email to