On 10/19/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
>
> Jörn Zaefferer schrieb:
> > Klaus Hartl schrieb:
> >>> But I really wanted readonly. This didn't work:
> >>> $("span.readonly input").attr("readonly", true);
> >>>
> >>> But these did. Note the camelCase:
> >>> $("span.readonly input").attr("readOnly", true);
> >>>
> >>>
> >>> $("span.readonly input").each(function() {
> >>> this.readOnly = true;
> >>> });
> >>>
> >> I think that is one for the attributes fix list?
> >>
> > ie: readonly: "readOnly"?
>
> yes!
This is now in SVN Rev: 452 and doing $().attr("readonly", true); will
work as expected.
--
Brandon Aaron
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/