Adding a spinner to a table while it processes the AJAX request
Adding a spinner to a table while it processes the AJAX request
jmccolgan93
Posts: 19Questions: 11Answers: 0
in Editor
hey guys,
I'm looking to add some sort of feedback to my table row while the AJAX request is processed like a spinner or font awesome icon. also would be nice to have some functionality for success/failures.
This question has an accepted answers - jump to answer
Answers
This example from this thread is showing how to use
field().processing()
to give that feedback to the user. It's using the eventspreSubmit
andpostSubmit
to trigger the showing and removal of the processing indicator. This is for bubble editing, but you can use the same code for form editing too,Colin