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?
Html – disable all form elements inside div
fieldformshtmljquery
Related Topic
- In a Django form, how to make a field readonly (or disabled) so that it cannot be edited
- Html – Prevent users from submitting a form by hitting Enter
- Javascript – Disable/enable an input with jQuery
- Html – How to style a
- Javascript – jQuery AJAX submit form
- Html – How to disable the resizable property of a textarea
- Html – Clear form fields with jQuery
- Html – An invalid form control with name=” is not focusable
Best Answer
Try using the
:input
selector, along with a parent selector: