最新回答 / 憨豆公子
$(function () { $("#btnShow").bind("click", function () { var $this = $(this); $.getJSON("http://www.imooc.com/data/sport.json",function(data){ $this.attr("disabled", "true"); ...
2014-11-10
”老湿“,怎么示例中没有用到fadeIn()方法和fadeOut()方法啊。和前面小节一样咯。
2014-11-10
最新回答 / 偌颜宁
removeAttr()这个方法是移除元素属性的,背景颜色和内容颜色不是元素的属性,是元素的样式,所以不能通过这个来移除,可以移除class或者移除style也是可以的
2014-11-09