So all of my content is on one page, it's divided into tabs using jQuery UI Tabs. So when a user changes tab, there's no page reload; it's all done in Javascript/Ajax.
How would I change the current url, this bit:
To whatever it currently is plus /example at the end?
So change www.mywebsite.com to www.mywebsite.com/example.
I want to create a re-usable method that I can just pass in something like changeHeaderTo('example') rather than specifying the domain part. As this needs to be done for several combinations of /x, /x/y, /x/z, etc.
Is this even possible/how would this be done?