Linking two DIV tags using javascript
<p>Here is my smaller image link:</p>

<pre><code>$("#thumbnail").append('&lt;img src="' + response + '" height="200" width="200"/&gt;');
</code></pre>

<p>And I need to link with the bigger image link:</p>

<pre><code>$("#Original").append('http://localhost:XXXX' + fileObj.filePath);
</code></pre>

<p>If I click the smaller link the bigger Image should open</p>

<p>So how do I do this?</p>
