title: jQuery .trigger() or $(window) not working in Google Chrome
body: <p>I have this jQuery ajax navigation tabs plugin that I created using some help from CSS-Tricks.com and the <a href="http://benalman.com/projects/jquery-hashchange-plugin/" rel="nofollow noreferrer">jQuery hashchange event</a> plugin (detects hash changes in browsers that don't support it).</p>
  
  <p>The code is little long to post it here but it goes something like this:</p>
  
  <p>Part 1) When a tab is clicked, it gets the href attribute of that tab and add it to the browsers navigation bar like '#tab_name': <code>window.location.hash = $(this).attr("href");</code></p>
  
  <p>Part 2) When the navigation bar changes (hash change), it gets the href change like this: <code>window.location.hash.substring(1);</code> (substring is to get only 'tab_name' without the '#'), and then call the ajax function to get the info to display.</p>
  
  <p>I want to automatically trigger the plugin to load the first tab when the page is accessed, so at the start of the code I put:</p>
  
  <pre><code>if (window.location.hash === '') { // If no '#' is in the browser navigation bar
     window.location.hash = '#tab_1'; // Add #tab_1 to the navigation bar
     $(window).trigger('hashchange'); // Trigger a hashchange so 'Part 2' of the plugin calls the ajax function using the '#tab_1' added
  }
  </code></pre>
  
  <p>The probles is that it works in FF but not in Chrome, I mean, everything works but it seems like the <code>$(window).trigger('hashchange');</code> is not working because it doesnt get the first tab..</p>
  
  <p>Any suggestions??</p>
  
  <p>Note: It worked some time ago but suddenly it doesn't (maybe Chrome update).</p>