Get content from window.open

Discussion in 'JavaScript' started by dramiditis, Aug 9, 2009.

  1. #1
    Hi,
    I have js with window.open:
    <a href="javascript:void(window.open("javascript:'<xmp>' + opener.window.document.documentElement.outerHTML + '</xmp>'"));">View Generated Source</a> .
    So, this window will generate content from page,. How can I pass this content to new page?

    Thanks
     
    dramiditis, Aug 9, 2009 IP