JavaScript

Fixing “cannot call methods on button prior to initialization” when using Bootstrap

Ran into this problem today. I wanted to make a button with loading state and whenever I called $().button('loading') I […]