jQuery (or regular Javascript) execute function when page is loaded AFTER back button is pressed
<p>I've seen this on a lot of websites, but I can't figure out exactly how to do it:</p>

<p>When a function is executed, the URL changes to whatever.com/page/#something and then when that url is accessed, the function is executed again. I know how to make that work when the page is first loaded, but I can't figure out how to make the function occur again when the "back" button is pressed.</p>

<p>(e.g. if I have a tabbed system set up, I start on site.com/#tab1, go to site.com/#tab2, and click the back button so that tab 1 shows up on the page again)</p>

<p>How does that work?</p>
