<script>
$("#idGuardar").click(function () {
$.ajax({
type: "POST",
url: "/Proveedor/Create",
data: '{param: "value"}',
contentType: "application/Json; charset=utf-8",
dataType: "json",
success: function (response) {
alert(response.responseText);
},
failure: function (response) {
alert(response.responseText);
},
error: function (response) {
alert(response.responseText);
}
});
});
</script>