首页 > 微信怎么实现滚动条滑动?

微信怎么实现滚动条滑动?

。现在我想做的是。当虚拟输入框弹出的时候,滚动条向上滚动。

$('.searchinput2').focus(function(){
    $('body,html').stop(true).animate({
        'scrollTop': 0
    })     
    })

这样写没反应--

【热门文章】
【热门文章】