这个click是还不错,不过不知道click到complete之后怎么还原呢?
$(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");
});