Enable/Disable group of HTML elements is fairly simple with jQuery. Any single element can be enabled/disabled via it's DOM property disabled
. But how to do it in group? The idea is to wrap all the elements meant to be grouped in a <div>
container and call jQuery's :input
selector to select all the child elements of the container and set it's disabled
property.
Langganan:
Posting Komentar (Atom)
0 Response to "Enable Disable group of HTML Elements with Checkbox using jQuery"
Posting Komentar