title: Preserving Ajax page state with URL hash
body: <p>There is a page on my site with two sets of tabs, each tab's link is ajax-driven but has a proper href in case javascript is not enabled.  I'm about to implement an ajax 'back-button' solution using a plugin such as jQuery Address.</p>
  
  <p>My problem/confusion with this solution is that a page's default content is still loaded before the javascript has a chance to parse the hash and load the correct content.  If I initially hide the content, non-javascript users will never see anything.  If I don't initially hide the content, the user will see the wrong page for a moment before it gets updated (besides the extra overhead of first loading the wrong tab and then the correct tab).</p>
  
  <p>What are the best / most common approaches to dealing with this?</p>
  
  <p>Thanks, Brian</p>