[jQuery] Re: Really removing items from the DOM

2007-07-09 Thread Su
On 7/9/07, Stephan Beal [EMAIL PROTECTED] wrote: How do i permanently remove items from the DOM *and* jQuery object? i am aware of jQuery(..).remove(), but the docs for remove() say: Assuming there is one(I'm fairly low-level with JS) have you tried just using the regular Javascript process

[jQuery] Re: Really removing items from the DOM

2007-07-09 Thread Jonathan Chaffer
On Jul 9, 2007, at 13:45 , Stephan Beal wrote: How do i permanently remove items from the DOM *and* jQuery object? i am aware of jQuery(..).remove(), but the docs for remove() say: This does NOT remove them from the jQuery object, allowing you to use the matched elements further. This

[jQuery] Re: Really removing items from the DOM

2007-07-09 Thread Stephan Beal
On Jul 9, 8:52 pm, Jonathan Chaffer [EMAIL PROTECTED] wrote: I think you're confused about what the jQuery object means here. snip $('#myElement') will match no elements. It will be an empty jQuery object. Aha! Okay, that's exactly what i need/want :D. Once again, jQuery delivers :). It

[jQuery] Re: Really removing items from the DOM

2007-07-09 Thread Stephan Beal
My apologies if this reply shows up twice... i'm confused about what i have and have not done tonight... On Jul 9, 8:52 pm, Jonathan Chaffer [EMAIL PROTECTED] wrote: I think you're confused about what the jQuery object means here. There isn't a master internal list of objects that is keeping