A simple test with pure CSS loading animation for buttons (uses jQuery to toggle class).

Button with Built-in Loading Indicator