title: jquery find img is returning undefined in special case
body: <p>to describe my case, here's what I have:</p>
  
  <p>javascript code:</p>
  
  <pre><code>$("#tf_zoom").live("click",function() {
  
      console.log($("#dynam").attr("src"));
  }
  </code></pre>
  
  <p>here I get the value in the first time but after the slider changes the image I get <strong>undefined</strong></p>
  
  <p>I also tried:</p>
  
  <pre><code>console.log($(this).find("img").attr("src"));
  </code></pre>
  
  <p>but this one is not working at all.</p>
  
  <p>html code:</p>
  
  <pre><code>&lt;div id="tf_thumbs" class="tf_thumbs"&gt;
              &lt;span id="tf_zoom" class="tf_zoom"&gt;&lt;/span&gt;
              &lt;img id="dynam" src="http://localhost/mala/assets/uploads/files/c9ab2-1.jpg" alt="Thumb1"/&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>the problem as I mentioned is that the slider changes the image and modifies the <code>img</code> tag to a new <code>src</code> attribute.</p>
  
  <p>so what should I do.</p>
  
  <p>any help would be greatly appreciated.</p>