What I wrote in the ticket:
This is the correct behavior. If you're serving up your document as
XML you need to treat it like a proper XML document - which means only
modifying the actual DOM attributes (and not the expandos).

See here for more information:
http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_check.2Funcheck_an_input.3F

--John



On Mon, Mar 2, 2009 at 10:32 PM, Dave Methvin <[email protected]> wrote:
>
> Re this ticket:
>
> http://dev.jquery.com/ticket/4283
>
> Version 1.3.x now detect documents served as XHTML+XML to be XML
> documents. This means the attributes-are-sometimes-properties magic
> doesn't happen in jQuery.attr. So,
>
> $("#check").attr("checked", true);
>
> sets an attribute named "checked" on #check but does not set the
> checked property/expando.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to