[jQuery] Removing anonymous element

[jQuery] Removing anonymous element


Hi,
I have a jquery array with an element in it. I'd like to remove this
element from the DOM, but can't see how.
If I use var.remove() it removes all children but not the element
itself.
I cannot think of any way to specify this very element in a selector
either, as it can have various placements in the DOM and it doesn't
have an id.
If there was a good mechanism for generating unique ids maybe that
would be the way to go?
Thanks,
-dennis