Hi,
I have some elements on my page that get loaded via an ajax call. I'd like to make the url in the user's browser change when they click an item. For example, my page has a list of animals:
Horse
Cow
Pig
when the user clicks one of those items, I want to update the url in their browser's address bar (not reload the page):
http://www.mysite.com#Horse
http://www.mysite.com#Cow
http://www.mysite.com#Pig
I think that's allowed, putting the # symbol in the address without reloading the page. Is there a way to do this in jquery?
Thanks