jasp.net中的scrollTop的jQuery查询 [英] jquery for scrollTop in asp.net
本文介绍了jasp.net中的scrollTop的jQuery查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI
我正在使用scrollTop jQuery.它在Google Chrome浏览器中可以很好地工作.但是在Firefox中却不能.
我该如何解决这个问题?..
谢谢
Afsal
HI
I am using scrollTop jquery. it works well in Google Chrome.. But not in Firefox.
How can i solve this issue?..
Thanks
Afsal
推荐答案
其用法一定有问题.该API已经过测试,可以在所有浏览器上使用.
检查jQuery网站的API- .scrollTop() [
There must be something wrong in its usage. The API is tested and should work on all the browsers.
Check the jQuery site for the API - .scrollTop()[^].
You will have to show us how you are using it if you are not able to solve the issue.
将此功能用于firefox
window.scroll(0,0)
示例
use this for firefox
window.scroll(0,0)
example
(.vision_btn_profile").click(function(){
(".vision_btn_profile").click(function() {
这篇关于jasp.net中的scrollTop的jQuery查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文