For my needs I use
$('#form :input').each( function(i) {
if ( !$(this).hasClass('donot') ) {
$(this).attr('disabled', 'disabled');
}
});
is there a better way to not use the if condition to check if the input has the class 'donot' ?
Thanks for your help...
Chris