$(function() { $( "form" ).submit(function( event ) { event.preventDefault(); $.ajax({ url: " ", method: "POST", data: {}, dataType: " " }); }); });