Extract form data and respond in ajax manner.

Signed-off-by: cocolekat <cocolekat@gmail.com>