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]>
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/
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
--
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
4 matches
Mail list logo