# JS read anchor or URL

**URL:** <https://forum.kirupa.com/t/js-read-anchor-or-url/230484>\
**Category:** web dev\
**Created:** [June 26, 2007, 5:26pm UTC](https://forum.kirupa.com/t/js-read-anchor-or-url/230484 "2007-06-26T17:26:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![evildrummer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/evildrummer/32/2308_2.png) [@evildrummer](https://forum.kirupa.com/u/evildrummer)\
**Post date:** [June 26, 2007, 5:26pm UTC](https://forum.kirupa.com/t/js-read-anchor-or-url/230484/1 "2007-06-26T17:26:15Z")

</div>

Because my site is pure AJAX I need a way of having individual pages linked to.

At the moment the links are done with dud-links: #home, #about etc…

Is there anyway JS can read these or is there a way I can have the page appear as if it went to site/page/ when really it just did a JS function.
