$(document).on('click', '#save_province', function () {
var a = $("#province").val(), b = $("#district").val(), c = getParameterByName('supplier_id');
$.ajax({
url: "postavshik_save.php",
type: "POST",
data: {
province: a,
district: b,
supplier_id: c,
},
beforeSend: function () {
$("#province").attr("disabled", !0), $("#district").attr("disabled", !0);
},
success: function (a) {
alert("Post so`rov yuborildi javob olindi");
}
});
});