cploutarchou
2/5/2020 - 3:37 PM

Get all values from form and send it to a page Javascript,Jquery,Ajax

Get all values from form and send it to a page Javascript,Jquery,Ajax

jQuery( document ).ready(function() {
	jQuery( "#submit" ).click(function() {
		 jQuery.post( "https://yoursite.com/yourpage.php", jQuery('#form').serialize())
			.done(function( data ) {
			alert(data);
		}); 
		return false;
	});
});