Transfer form text data via jQuery (AJAX)

This is sample code for transfer data from HTML form to other server/site via jQuery AJAX

(function ($) {
	$(document).ready(function(){
		$("form.JsSubmit").submit(function(){
			var formData = $(this).find( ":input" ).serializeArray();
			
			$.ajax({
				dataType : 'json',
				type: "POST",
				url : 'http://google.com',
				data : formData,
				
				beforeSend: function(){
				},

				success: function(Response){
				}
			});

			return false;
		});
	});
}(jQuery))