課程
/前端開發
/Bootstrap
/玩轉Bootstrap(JS插件篇)
這個click是還不錯,不過不知道click到complete之后怎么還原呢?
2015-03-14
源自:玩轉Bootstrap(JS插件篇) 4-10
正在回答
$(function(){ ????$("#mybutton").click(function(){ ????????$(this).button("loading").delay(1000).queue(function(){ ????????????$(this).button("complete").delay(500).queue(function(){ ????????????????$(this).button("reset"); ????????????????$(this).dequeue();? ????????????}); ??????????????$(this).dequeue();? ????????}) ????}) })
$("#btnLogin").click(function(){
????$(this).button('loading');
????........
????$(this).button("reset");
});
舉報
帶領大家學習怎么使用JS自由控制Bootstrap中提供的組件
1 回答使用button按鈕作為關閉按鈕
2 回答bootstrap的模擬單選按鈕
1 回答4-6 按鈕插件
4 回答4-9按鈕切換沒作用,4-10按鈕效果與實際不符
3 回答點擊按鈕圖片不動
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-06-11
2016-01-25
$("#btnLogin").click(function(){
????$(this).button('loading');
????........
????$(this).button("reset");
});