Disable ajax button while it is processing

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Disable ajax button while it is processing

wyin
Hi,

Can anyone tell me how the do this?

I have an Ajax button, once I click it, it will take a while to process, I want it to be disabled while this process and enable it when I get the response

Thank you~