the Forum

How do I get the hash from the anchor?

Posted on June 12, 2011 by Grace Beltran
Total Posts: 1  |  Join date: 06-01-11

I use the following example in jQuery to get the hash of the URL:
http://www.domain.com/#link"
Using window.location.hash returns #link
How do I make a link that would get the #link before it's posted on the URL?

Tags: There are no tags for this entry.

There are no answers yet.  Add yours below.

add your answers here
comments powered by Disqus