> Can some more folks take a look at this and see if there's > any kind of work-around, even? Is there anything that > can be done if another JS script extends the Object object > in a foolish way?
Extending the Object object breaks the "in" operator. It becomes difficult to tell which properties were intended by the object creator and which were forcefully inserted by the Object extender. A quick search for " in " in jQuery shows that these methods are affected at the least: attr, extend, each, swap, css, remove, handle, unload, animate, param I don't think it's possible to guard against arbitary properties being added to Object. Sometimes it's possible to work around the problem by ignoring properties with typeof(property)!=function but in at least some of those cases jQuery expects that the property will be a function. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/