jquery- how to get different page elements
<p>There is one hyperlink in One.html and when I click on that link then window Two.html page having some images open[window.open('Two.html','mywindow','width=400,height=200')]</p>

<p>I want, when I click on image on window then that same image will also appear in One.html</p>

<p>Below is my attempt:</p>

<p>One.html</p>

<pre><code>&lt;a id="id1" href="" onclick="window.open('OnclickPage.html','mywindow','width=400,height=200')"&gt;Click here&lt;/a&gt;
&lt;div id="area"&gt;&lt;/div&gt;
</code></pre>

<p>Two.html</p>

<pre><code>&lt;img id="id1" class="img" src="image.gif"/&gt;&lt;p/&gt;
&lt;img id="id2" class="img" src="cart.jpg"/&gt;&lt;p/&gt;    

$.get("One.html").find($'area').append(clicked image from current window);//exactly not getting. please help me to correct
</code></pre>

<p>Please help me to correct page Two.html code.</p>

<p>All selected images from Two.html(reside in window) should instantly appear in One.html, like if we select one image then previous page should instantly updated with that image and if we select two images then previous page One.html should get updated instantly</p>

<p>Any kind of startup help will be highly appreciated!</p>
