In some web 2.0 forms when you click the submit button,
a kind of animation appears to indicate "Processing".
How is this achieved?

Thanks