Referring to a specific place on page
Posted
by misha-moroshko
on Stack Overflow
See other posts from Stack Overflow
or by misha-moroshko
Published on 2010-04-20T15:12:15Z
Indexed on
2010/04/20
15:23 UTC
Read the original article
Hit count: 182
JavaScript
|html
I know that in Javascript document.location.href = "#my_id"
tells the browser to display the same page starting from element with id="my_id".
In this case, the address that appears in the address bar is in the following format: my_page_address#my_id
Is this the only method to refer to a specific place on a page ?
I'm looking for a method that will not show my_id
in the address bar.
© Stack Overflow or respective owner