2016-04-25 73 views
0

我在尋找建議。這不起作用:jquery&Ajax分頁回調

https://jsfiddle.net/ss9hn99d/

<script id="moo" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> 

<title>Simons Easy Ajax Pagination</title> 

<body> 
<h1>Simons Easy Ajax Pagination (jQuery)</h1> 

<div id="pagination_controls"> 
<div id="pagination_control_wrapper"> 
</div> 
</div> 
<div id="pagination_container"> 
<div id="pagination_content_wrapper"> 
</div> 
</div> 

<div class="points"> 

<strong>Features</strong> 
<ul> 
<li>Ajaxian Pagination</li> 
<li>Back &amp; Forward button support</li> 
<li>URL ajax navigation <a href="pagination_jquery.php#p=4" rel="nofollow">Go To page 4</a></li> 
<li>JavaScript ajax navigation whithin class "this.pLoad('3');" loads page 3</li> 
<li>Left to Right, or Right to Left animated slide</li> 
</ul> 

<strong>To Do</strong> 
<ul> 
<li>Cache with on/off switch</li> 
</ul> 
</div> 
</body> 

但它應該工作一樣:

http://www.aplusdesign.com.au/misc/pagination/pagination_jquery.php#p=1

任何幫助將不勝感激。

感謝

+0

請縮進代碼,它會更容易閱讀。 –

回答

-1
<script id="moo" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> 

<title>Simons Easy Ajax Pagination</title> 

<body> 
    <h1>Simons Easy Ajax Pagination (jQuery)</h1> 

    <div id="pagination_controls"> 
    <div id="pagination_control_wrapper"> 
    </div> 
    </div> 
    <div id="pagination_container"> 
     <div id="pagination_content_wrapper"> 
     </div> 
    </div> 

     <div class="points"> 

     <strong>Features</strong> 
     <ul> 
      <li>Ajaxian Pagination</li> 
      <li>Back &amp; Forward button support</li> 
      <li>URL ajax navigation <a href="pagination_jquery.php#p=4" rel="nofollow">Go To page 4</a></li> 
      <li>JavaScript ajax navigation whithin class "this.pLoad('3');" loads page 3</li> 
      <li>Left to Right, or Right to Left animated slide</li> 
     </ul> 

     <strong>To Do</strong> 
     <ul> 
      <li>Cache with on/off switch</li> 
     </ul> 
     </div> 
+0

請在回答中添加一些反饋 –