RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: miles801
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 https://github.com/defunkt/jquery-pjax 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() { $('#pjax-container').pjax('a',{timeout:3000}); });
<h1>My Site</h1> <div class="container" id="pjax-container">Go to <a href="MyHtml.html">next page</a>. </div>
when i click on the link,it refresh whole page. could any one help me ?thanks a lot!
email:miles.luffy@gmail.com
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 https://github.com/defunkt/jquery-pjax
then code as the demo,but it doesn't work,also there's no errors.
when i click on the link,it refresh whole page.
could any one help me ?thanks a lot!
email:miles.luffy@gmail.com