jquery and .attri doesn't work?
<p>Here is my code:</p>

<pre><code>function init(){
    $.get(URL, function(data) {
     DATA = data;
     var srcWithHead = URL + "/" + $(DATA).find("img").attr("src");
     $(DATA).find("img").attr("src", srcWithHead);
     console.log("src = " + $(DATA).find("img").attr("src"));
    });
}
</code></pre>

<p>And I would like to have a picture showing. But the URL image src is a relative path. So, I need to have a header of each image. But it seems that 
<code>$(DATA).find("img").attr("src", srcWithHead);</code>
doesn't work.</p>

<p>What can I do? and any other method?
Thanks</p>
