jQuery Async Demo
Instead of using the .click() jQuery function, use the .async() to make your button visibly wait.
The action can either succeed of fail, triggering a different animation on the button.Test asynchronous user action
Embed the params in the HTML attributes
jQuery async does that for you by reading the async-params attribute of your button in a JSON format and deliver it in your codeTest embedded params
You can bind .async() on a different trigger than the usual "click" event
In this example the async is binded to the "change" event so once you have typed in the postal code and you leave the input, the function is triggered: