jqgrid 獲取當前頁碼 url
$('#gridTable').getGridParam('page');spa
/** *刷新,jqGrid刷新當前列表頁代碼 */ function refresh(url) { var page = $('#your_grid').getGridParam('page'); // current page var rows = $('#your_grid').getGridParam('rows'); // rows var sidx = $('#your_grid').getGridParam('sidx'); // sidx var sord = $('#your_grid').getGridParam('sord'); // sord jQuery("#your_grid").jqGrid('setGridParam', { url : url, page:page, rows:rows, sidx:sidx, sord:sord }).trigger("reloadGrid"); //jQuery("#your_grid").trigger("reloadGrid");//刷新整個列表代碼 }