为什么没有效果?
<script type="text/javascript">
$(function () {
$("#btnShow").bind("click", function () {
var $this = $(this);
$.getScript("http://www.imooc.com/data/sport_f.js ", function (data) {
$this.attr("disabled", "true");
});
})
});
</script>
<script type="text/javascript">
$(function () {
$("#btnShow").bind("click", function () {
var $this = $(this);
$.getScript("http://www.imooc.com/data/sport_f.js ", function (data) {
$this.attr("disabled", "true");
});
})
});
</script>
2016-12-30
举报