'Welcome back! Forms are one of my biggest gripes. So ted...'
From the comments on 'Good Practice in Implementing HTML Forms'
I quite like AJAX in a form, however, the "check username" function is usually a good one.