Re: [jQuery] prependTo element's own parent

2007-03-05 Thread Klaus Hartl
Oliver Boermans schrieb: > Not tested - but I'm guessing something like this will work? > > $('elementtoappend').appendTo($(this).parent()); > > where 'elementtoappend' is the selector for the element you wish to insert. > > On 05/03/07, Seb Duggan <[EMAIL PROTECTED]> wrote: >> I want to take an

Re: [jQuery] prependTo element's own parent

2007-03-05 Thread Oliver Boermans
Not tested - but I'm guessing something like this will work? $('elementtoappend').appendTo($(this).parent()); where 'elementtoappend' is the selector for the element you wish to insert. On 05/03/07, Seb Duggan <[EMAIL PROTECTED]> wrote: > I want to take an element, and prepend it to its own pare

[jQuery] prependTo element's own parent

2007-03-05 Thread Seb Duggan
I want to take an element, and prepend it to its own parent element. How would I do this? Seb ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/