It isn't as pretty but you could just loop through them and set the
property manually.
$("span.readonly input").each(function() {
this.disabled = true;
});
I believe a fix for this is in the works, so that attr would work as
you expected.
--
Brandon Aaron
On 10/18/06, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > $("span.readonly input").attr("disabled", "disabled");
>
> Does this work?
>
> $("span.readonly input").attr("disabled", true);
>
> The XHTML attribute is disabled="disabled" but the Javascript property is
> boolean.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/