first page, laste page buttons working

This commit is contained in:
Sanj 2011-07-03 22:33:27 +05:30
parent 42f6947240
commit 1b61b2da86

View File

@ -27,6 +27,17 @@ $(function() {
}, "json");
});
$('#firstPage').click(function() {
$('#page_no').val('1');
$('#filterForm').submit();
});
$('#lastPage').click(function() {
var last_page = $('#noOfPages').text();
$('#page_no').val(last_page);
$('#filterForm').submit();
});
$('#filterForm').submit();
$('#prevBtn').click(function() {