title: Single Page Application and $(window).bind('load', function() {....}
body: <p>I use this code to load an image gallery by binding it when window has completely loaded within a Single Page Application:</p>
  
  <pre><code>$(window).bind("load", function() {
      console.log("window loaded");
      $("div#gallery").slideViewerPro({
          autoslide: true,
          thumbsVis: false,
          galBorderWidth: 1,
          galBorderColor: "#003f00"
      });
  });
  </code></pre>
  
  <p>This event is only valid whenever the window has loaded and in the case of a Single Page Application this event has only one callback right and this is only after the window has been loaded? whenever there is a change within my page the callback of $(window).bind(......) is never been invoked again?! What is more appropriate in Single Page Applications to ask for changes in content with jQuery for instance. Is there a haschange() or a dom_has_loaded() in jQuery?</p>
  
  <p>I hope I pointed it out clearly.</p>