标题:jQuery v1.8.3为什么不能兼容ie9哪位大神了解
取消只看楼主
小青345
Rank: 2
等 级:论坛游民
帖 子:64
专家分:15
注 册:2017-8-24
结帖率:0
 问题点数:0 回复次数:0 
jQuery v1.8.3为什么不能兼容ie9哪位大神了解
<script>
$(function () {


$("a").click(function () {
console.log($(this).attr("href"));
var id = $(this).attr("href");
$("body,html").animate({"scrollTop":$(id).offset().top},1000);
})
})
</script>


搜索更多相关主题的帖子: jQuery 兼容 script this href 
2017-09-25 11:08



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-480930-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.067163 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved