I am serializing a form with jquery:
$(document).on("click", "#btnsubmit", function () {
$.ajax({
url: "/Home/RiskScore",
type: "post",
data: $("form").serialize(),
success: function (result) {
$('.content-wrap').html(result);
}
});
});
And one of my textboxes is BMI and counts the bmi out of two other textboxes. I don't want anyone to be able to change the value of the textbox and thats why i have disabled it. The problem is that when it is disabled the serializing method above works but it can't find the BMI textbox and its value.