$("#sp_1").text(); // total pages $(".ui-pg-input").val(); // current page
$('#your_grid').getGridParam('page'); // current page