safeSubmit Plugin

The “safesubmit” plugin is going to disable submit buttons when clicked and, in most cases, re-enable them when the ajax request has completed. On your app, if you had a class called “safe” on all the submit buttons that you wanted to exhibit this behavior, you could enable the plugin functionality with one line:


And that’s it. It’s simple and powerful.


Similar Posts