I have a JQUERY Post call which is posting critical data to the server. Which if isn't posted successfully, results in a huge loss of important data.
I have a save banner UI show on the page before the JQUERY POST, after the JQUERY Post it has the Save Banner go away.
I'd like an inbetween state, where if the save is taking longer than 1 second, it updates from "saving" to "saving..."
but if it doesn't save within 4 seconds, it says "error, try again" something like that.
Any ideas on how to accomplish this with JQUERY?