My divs include inputs of type select, text input, checkbox and various others
I have successfully managed to set the attribute of disabled for all elements in a div to true using the code below in jQuery.
$("#for_all_div1 :input").attr("disabled", true);
$("#for_all_div2 :input").attr("disabled", true);
My question is how can I set the attributes for all inputs in the div but skip the checkbox inputs.
Thanks,