Use the jQuery :has() and :disabled pseudo-selectors on the TD elements:
$('td:has(:disabled)').css('opacity', .5);
if you need to be more specific about the disabled elements (probably not needed), use :input too (:input
covers both select and input):
$('td:has(:input:disabled)').css('opacity', .5);