first page, laste page buttons working
This commit is contained in:
parent
42f6947240
commit
1b61b2da86
|
@ -27,6 +27,17 @@ $(function() {
|
||||||
}, "json");
|
}, "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();
|
$('#filterForm').submit();
|
||||||
|
|
||||||
$('#prevBtn').click(function() {
|
$('#prevBtn').click(function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user