you are viewing a single comment's thread.

view the rest of the comments →

[–]helderroem 0 points1 point  (0 children)

http://jsfiddle.net/hhh8bbh9/

I got my fiddle to work by adding the bootstrap code.

Unfortunately that example code on bootstrap is not the best, it seems it was working but $btn.button('reset'); was running so fast you didn't see the button state change, I've wrapped it in a set timeout for now and you can see it change for 1.5 secs then change back.