Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

miles801's Profile

GitHub User: miles801

Comments by


help,i have a trouble with the pjax ..

btw,my english is pool,maybe there's some mistakes ~

ok,i download the lastest pjax at
then code as the demo,but it doesn't work,also there's no errors.

<script type="text/javascript" src="jquery.1.9.js"></script>
<script type="text/javascript" src="../js/jquery/plugin/jquery.pjax.js"></script>

$(function() {
<h1>My Site</h1>
<div class="container" id="pjax-container">Go to
        <a href="MyHtml.html">next page</a>.

when i click on the link,it refresh whole page.
could any one help me ?thanks a lot!