I would like to get this information from url with jQuery:
login
from this url:
http://www.domain.com/index.html#login
So what i would like, is to get the information from #
and later use the information that i got from # to make an include.
I know how to include a file, but i don’t know how to get the information from the url, and from “#”
I don’t really want to use &site=login, because it’s my last option.
Pure JS: