$.ajax({ type: "POST", url: url, data: data, success: function (result) { alert("The result is "+result); } });