Disable the button till the AJAX function returned.