Closed tetrahydra closed 6 years ago
Hello
I would like to know how can I achieve this:
When clicked save, show "spinner" icon.
After submitted to the server and wait for the ajax return (OK or ERROR), if error, then do not hide the edit input/textarea.
Hello,
You can maybe use the 'onsubmit', 'before' or 'callback' options to run what you want when you want ;)
See the Complete example on the demo source code.
Hello
I would like to know how can I achieve this:
When clicked save, show "spinner" icon.
After submitted to the server and wait for the ajax return (OK or ERROR), if error, then do not hide the edit input/textarea.