我用事件监听器做了
// listener to input value to go pagenumber
function listenPage(){
var p = document.getElementById("inputPageNumber");
p.addEventListener("input", function() {
var result = p.value;
$('.magazine').turn("page", result);
}, false);
}
listenPage();