> I think I have found a bug in parent(), resulting in a reference change > somewhere.
Not a bug - just an interesting side effect of jQuery. Every "destructive" function in jQuery does the same thing (find, parent, children, filter, etc.) - modifying the original jQuery object. There are two ways to stop this from happening: jObj.parent() .hide() .end() or, keep it within a certain context. jObj.parent(function(){ $(this).hide(); }); The reason for choosing this non-functional-programming-style design is that the memory and processor costs of have new versions of each object being cloned after every operation would be very high. Let me know if this works for you. --John _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/