[jQuery] Unsure about the usage of .parent()

[jQuery] Unsure about the usage of .parent()

Why does .parent() modify the original object? This isn't right according
to me.
Let's say i have this code:
testDOM = <SOMEOBJECT>.parent().parent()[0];
And i want to do some more work on the original object;
<SOMEOBJECT>.hide();
I get this error:
".. IS NOT A FUNCTION"
I am unsure on how to correctly get the parent's parent without changing
the original object.
-- Gilles
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/