[jQuery] couldn't get pagination to work
Hi guys,
I just couldn't get the tablesorter pagination to work. I'm using
jquery-1.3.2.min.js. Below are my scripts:
<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
<script type="text/javascript"
src="js/jquery.tablesorter.pager.js"></script>
$("#contact_list_table").tablesorter({
// pass the headers argument and assing a object
headers: {
// assign the secound column (we start counting zero)
0: {
// disable it by setting the property sorter to false
sorter: false
}
}
}).tablesorterPager({container: $("#pager")});
<table class="tablesorter" id="contact_list_table">
<thead>
<tr>
<th></th>
<th>Mobile</th>
<th>Email</th>
<th>Name</th>
<th>Abbreviation</th>
</tr>
</thead>
<tbody class="tb">
</tbody>
</table>
<div id="pager" class="pager">
<form>
F
P
<input type="text" class="pagedisplay"/>
N
L
<select class="pagesize">
<option selected="selected" value="10">10</option>
<option value="20">20</option>
<option value="30">30</option>
<option value="40">40</option>
</select>
</form>
</div>
Please help. Thanks !
regards,
Mark
--
View this message in context: http://www.nabble.com/couldn%27t-get-pagination-to-work-tp22926018s27240p22926018.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.