摘要:
来源:http://www.cnblogs.com/fengliucaizi/p/4929421.html学习:$(document.body).animate({scrollTop: 0}, 800);---这个可以让页面 回到顶部!$('img').on('error', function ()... 阅读全文
posted @ 2015-11-03 17:00
前端小菜j
阅读(121)
评论(0)
推荐(0)
摘要:
1.e.preventDefault()阻止事件默认行为e.preventDefault();----根据英文意思,如:xx$("#xx").click(function(e){alert("xxx");e.preventDefault();}); -------------------------... 阅读全文
posted @ 2015-11-03 16:09
前端小菜j
阅读(270)
评论(0)
推荐(0)
浙公网安备 33010602011771号