title: Call image src using jquery
body: <p>I've got a image inside a div. Below is the current div structure.</p>
  
  <pre><code>&lt;div id="imgHolder"&gt;
     &lt;img class="smallthumb" src="imgHolder.png"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How can I call the image using jquery and get the same output as above?</p>
  
  <p>I tried this:</p>
  
  <pre><code>$('#imgHolder').attr("src", "profile.png");
  </code></pre>
  
  <p>but then the final output is:</p>
  
  <pre><code>&lt;div id="imgHolder" class="smallthumb" src="imgHolder.png"&gt;&lt;/div&gt;
  </code></pre>