[jQuery] Re: cloning content from parent page to child page

2007-06-15 Thread Benjamin Sterling
Actually what work is: var popup = window.open('', 'blankpage'); with(popup.document){ write($(".bodytext").html()); } Thanks for the pointer Sean. On 6/15/07, Benjamin Sterling <[EMAIL PROTECTED]>

[jQuery] Re: cloning content from parent page to child page

2007-06-15 Thread Benjamin Sterling
Yeah, that was a now go. I appends it back to the parent body. This is what I got: var popup = window.open('blank.htm', 'blankpage'); $(".bodytext").clone().appendTo("body",popup); On 6/15/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: Thanks Sean, I am going to give that one a try. On 6/

[jQuery] Re: cloning content from parent page to child page

2007-06-15 Thread Benjamin Sterling
Thanks Sean, I am going to give that one a try. On 6/15/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: When you say pop up, do you mean, window.open style. If that's the case try using something like this: var popup = window.open(...) $("#cloneme").clone().appendTo("body",popup); ~Sean --

[jQuery] Re: cloning content from parent page to child page

2007-06-15 Thread Sean Catchpole
When you say pop up, do you mean, window.open style. If that's the case try using something like this: var popup = window.open(...) $("#cloneme").clone().appendTo("body",popup); ~Sean