Imagine you have a form where you switch visibility of several fields. And if the field is not displayed you don\'t want its value to be in request.
How do you handl
What about:
$('#divID').children(":input").prop("disabled", true); // disable
and
$('#divID').children(":input").prop("disabled", false); // enable
To toggle all children inputs (selects, checkboxes, input, textareas, etc) inside a hidden div.