jQuery Plugin - Button Loading State
This plugin is used to quickly put buttons into some kind of loading state. While in loading state buttons change their content to animated dots '...'.
Put some button to 'loading state':
$(buttonElement).toLoadingState();Put some button back to its initial state (when loading is done):
$(buttonElement).toInitialState();