I use two jQuery plugins: quickSearch and tablePagination
When I type text into the input box, pagination doesn't work :(
This is my code:
<html><head>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/jquery.quicksearch.pack.js"></script>
<script type="text/javascript" src="/js/jquery.tablePagination.js"></script>
<script>
var options = {rowsPerPage : 2,}
$('#admin_table').tablePagination(options);
$('table#admin_table tbody tr').quicksearch({
position: 'before',
attached: '#admin_table',
labelText: 'Search'
});
</script>
</head>
<body>
<table id="admin_table" class="admin_table">
<tbody>
<tr><td>test</td><td>test11</td></tr>
<tr><td>te</td><td>tt11</td></tr>
<tr><td>te4t</td><td>tes211</td></tr>
<tr><td>tes45t</td><td>te234st11</td></tr>
<tr><td>te67st</td><td>te123st11</td></tr>
</body>
</html>
How can I do pagination if I type text into the search input?