请问在callback里如何访问currentPage?
$(function() {
var thisURL = document.location.href;
$("#pagination1").pagination({
currentPage: {{ page }},
totalPage: 50,
callback: function(current) {
alert($( this ).currentPage);
window.location.href = '/?page=4';
}
});
});