I'm trying to refactor my existing code to now use jQuery and I can't figure out how to append my info to my src
Here was my existing line:
document.getElementById("itemDetail").src = detailUrl;
This is what I'm trying:
$("#itemDetail img src").append(detailUrl);
This is my snip of html:
<div id="detailsPane">
<img src="images/blank-detail.jpg" width="346" height="153" id="itemDetail" />
</div>
$("img#itemDetail").attr('src' , detailUrl);