[jQuery] Re: Return Object + Wrapper

2008-10-03 Thread jkappers
Right on! How incredibly simple. I put *way* too much thought into that. Thanks a ton, Riyono! On Oct 2, 9:01 pm, "Andronicus Riyono" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 3, 2008 at 6:13 AM, jkappers <[EMAIL PROTECTED]> wrote: > > > I've got a bit

[jQuery] Return Object + Wrapper

2008-10-02 Thread jkappers
I've got a bit of a problem. I'm attempting to wrap an element, and then retrieve the element + the new element added on wrap. For example: $("element").wrap("div"); The wrap function will return $("element") again, but what if I want to include the div I just wrapped around $("element") into a