I know the defined behavior for web forms is to not submit disabled fields... but that\'s not the definition I want. I want to use ajax to post the form and I want it to ge
Why not simply enable all the disabled input fields right before the submission using .removeAttr()
and .submit()
.
$('#my_form').submit(function(){
$("#my_form :disabled").removeAttr('disabled');
});
You can disable the inputs & before submitting the form you can re-enable them so the form will include them when posting to the server side