Automatically enable or disable a button, add loading messages, or swap classes - all without the verbose Javascript.