按鈕點擊問題
為按鈕添加點擊事件時為什么要這樣設置:
this.nextBtn.click(function(){
self.carouselRotate();
})
而不是這樣設置:
this.nextBtn.click( this.carouselRate() );
為按鈕添加點擊事件時為什么要這樣設置:
this.nextBtn.click(function(){
self.carouselRotate();
})
而不是這樣設置:
this.nextBtn.click( this.carouselRate() );
2017-08-07
舉報
2017-08-07
語法問題,我懂了。。。。