So I have a data set that is returning something like this in the variable entry.content:
<p style="float:right;margin:0 0 10px 15px;width:240px"> <img src="http://citysportsblog.com/wp-content/uploads/2011/09/RagnarNE.jpg" width="240"> </p><p>Have you heard of the epic adventure that is the</p>
How would i just grab the img src url from this via jquery?
assuming you only have one image:
var sourceUrl = $(‘img’).attr(‘src’);