Submit form via AJAX.