How to use variable into a IMG SRC?
Hi, I have a small function that gets a URL to a picture, I can get out into the div (full URL).
_______________________________________
var SomeName = $().SomeFunction({
fieldName: "Picture"
});
$(".MyDiv").append(SomeName);
<div class="MyDiv"></div>
_______________________________________
But.. If i want to get my value to become a visible image at the webpage, a real image instead of just the URL, how can I use use the variable into Href, like this:
<img src="<div class="MyDiv"></div>"/>
If anybody knows, it would be great!