How do I change the URL without refreshing the page?
I\'ve built a website with CodeIginer and I want to implement AJAX and JQuery in one of my pages. The problem is
Could use a hash (#) and put whatever you like afterwards.
Here's a site I built using this - and then I have JavaScript read the hash and call appropriate functions:
http://bannerhouse.com.au/#/popup=media&id=don
Side note:
This is useful for flash websites or flash content as well; you can use FlashVars to parse the hash value to the SWF and load an appropriate section/screen based on that.