pandeiro373's logs
mindia › pandeiro373's logs › 単語

hashchange

南小倉パンデイロ · 2012-02-20 更新 · 履歴(1)
$(function(){
  // Bind the event.
  $(window).hashchange( function(){
    // Alerts every time the hash changes!
    alert( location.hash );
  })
  // Trigger the event (useful on page load).
  $(window).hashchange();
});

タグ