Wait. I'm sorry... the second half of my response was for a different post relating to parent and parents. I have not tested that in the wild. It should, however, not remove the siblings for the same reason.
On Apr 22, 6:45 am, Daniel <dcosta...@gmail.com> wrote: > It shouldn't. there is parent() and parents(). > I use that exact code for a tag system that i created. I'd link you to > it... but it's not public yet. The code is exact, the properties > changed are different. > > On Apr 22, 6:40 am, dth <dennis.thry...@gmail.com> wrote: > > > As far as I can see, that would remove my element as well as all of > > it's siblings? > > > -dennis > > > On 22 Apr., 13:36, Daniel <dcosta...@gmail.com> wrote: > > > > var.parent().remove() should do the trick i think?