is there a way to disable all fields (textarea/textfield/option/input/checkbox/submit etc) in a form by telling only the parent div name in jquery/javascript?
Try using the :input selector, along with a parent selector:
:input
$("#parent-selector :input").attr("disabled", true);
1.4m articles
1.4m replys
5 comments
57.0k users