Saturday, December 22, 2012

Some Jquery stuff

Select all checkboxed input elements and select boxes and disable them

$("input[type="checkbox"},select,input[type="text"]").prop(disabled,true);

.prop property

you can also use input[type="text"][id!=someid]

No comments: