Currently, no, jQuery does not support this set up. I bet we could
probably use attributes to keep track of our internal data store in
this situation.

I've filed a bug so that we can check in to it someday:
http://dev.jquery.com/ticket/4151

--John



On Fri, Feb 13, 2009 at 11:44 PM, Godmar Back <[email protected]> wrote:
>
> Hi,
>
> does anybody have any experience/success with running jQuery inside a
> Mozilla Firefox sandbox, in which the global window object is a deep
> XPCNativeWrapper of the underlying DOM?
>
> In this environment, 'expando' properties - e.g., properties not
> defined by W3C DOM may be added only to 'window' and 'document', but
> not to any other DOM element.  For example, the following code:
>
> document.expando = 'Hello';
> document.body.expando = 'World';
> alert(document.expando + ' ' + document.body.expando);
>
> would alert 'Hello undefined'.
>
> Is it possible to use jQuery if DOM elements do not support expando 
> properties?
>
>  - Godmar
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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