$("html").scrollTop($(document).height(),function(){
$("#page_jump_input").focus();
});
我无法获得回调函数来处理方法scrollTop().
滚动工作,但回调不会.我哪里错了?
这可以
解决您的问题
$('html').animate({
scrollTop: $(document).height()
},function(){
$("#page_jump_input").focus();
});
它使用jQuery animate,因为scrollTop()没有回调函数.