需先引入jQuery,再引入pagination组件
<script src="jquery.js"></script>
<script src="jquery.pagination.js"></script>
html
<div class="M-box1"></div>
Javascript
$('.M-box1').pagination({
totalData:100,
showData:5
coping:true
});
需先引入jQuery,再引入pagination组件
<script src="jquery.js"></script>
<script src="jquery.pagination.js"></script>
html
<div class="M-box1"></div>
Javascript
$('.M-box1').pagination({
totalData:100,
showData:5
coping:true
});