Jquery - copying first img src from div with 2 images, to another div
<p>I've been looking for a solution to this for a while now, have found several options,
but none of them were actually working in my case...</p>

<pre><code>html/php code:

&lt;div class="something"&gt;
    &lt;img src="images/gallery/&lt;?php echo $row_get_img['imagename']; ?&gt;"&gt;
    &lt;img src="images/gallery/pixelfiller.png"&gt;
    //Divs are on top of one another(*code not transcribed fully*)
&lt;/div&gt;

&lt;div id="fullscreen"&gt;
    &lt;div class="imgfull"&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>The objective is to grab the 1st img inside the "something" class, and fill the "imgfull"
div with the image.</p>

<p>the jquery script i have so far is this:</p>

<pre><code>jquery code:

$("#content .something").click(
   function() {
       $("#fullscreen").show("slow");

$("#fullscreen").click(
   function() {
       $("fullscreen").hide("slow");
)
</code></pre>

<p>I have already tried a lot of options, find(), attr(), get() and even append().
The one i figured was closer to getting what i needed done i assume is attr(), but I can't figure out why.</p>

<p>What i really need is that, by clicking on the div "something", the source atribute of the first image inside the clicked div, must be sent to the div "imgfull".</p>

<p>With the attr() I've managed to get the source of the first image in the document, not the div, I'm guessing i need to use $(this) along with attr, but i just can't figure out out, also this solution must be fit inside the jquery script presented first.</p>

<p>I don't know if this is asking for too much, but thanks in advance for any answer to this problem.</p>
