JQuery - loading multiple pages in one newly opened window
<p>I'm total beginner in js and JQuery and have to complete such task:</p>

<p>I have to open new window with some document print preview. It is not a problem for single document, but there's a need to print more than one document. I was trying to do this like that:</p>

<pre><code>var win = window.open("", "test", "width=700,height=600");
$(win.document).ready(function(){
    $(win.document).contents().load("here_my_action_with_changing_id");
})
});
</code></pre>

<p>but it only loads first document and I don't have any idea how to load one after another.
Also, it seems not to work on IE properly.</p>
