Skip to content

Instantly share code, notes, and snippets.

@phlipper
Created June 18, 2011 20:46
Show Gist options
  • Save phlipper/1033487 to your computer and use it in GitHub Desktop.
Save phlipper/1033487 to your computer and use it in GitHub Desktop.
<!-- Add this: -->
<script>
$(function(){
// pjax
$('a.pjax').pjax('#container');
})
</script>
<!-- then change this: -->
<a onclick="return false" class="link" data-pjax="#container" href="/hotline">Engineer Hotline</a>
<!-- to this: -->
<a class="link pjax" href="/hotline">Engineer Hotline</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment