I've got a form (using jQueryUI tabs), where I want the text input elements with readonly="readonly" to have a CSS value of border:0;. So far I've got (using the jQuery docs):
$(":input[type='text'][readonly='readonly']").each(function()
{
$(this).css('border', '0;');
});
Which doesn't do anything at all. When I add $(document).ready() to the above, my jQuery tabs break (but the sliders don't). If I only have $(document).ready() with no content, it's fine. I think the issue lies within the first line, but I'm not sure.
I don't want to do this with id/class. If it's possible to do only with CSS, that'd be great, but I can't think of a way.