trouble selecting all readOnly attributes

trouble selecting all readOnly attributes

I'm trying to color all the readOnly elements grey:

In jquery 1.2.6, this worked:
$('input[@readOnly]').css('background-color','#D8D8D8').css('color','#686868');
$('select[@readOnly]').css('background-color','#D8D8D8').css('color','#686868');
$('textarea[@readOnly]').css('background-color','#D8D8D8').css('color','#686868');

BUT in jquery 1.4.1 that breaks. So, although this works
$("input:text[@readonly]").css('background-color','#D8D8D8').css('color','#686868');

how do I now target the textareas and selects?

Thanks!!