I’m using ajax json to return some data. Objects that are returned using json have image path which I need to render. Here’s the code inside my js function
data = '<div class="articleWrapper"><div class="articleImgThumb">' + '<img src="'+item.ImagePath;'" />' + '</div></div>';
Something I’m doing wrong cause this code is rendered in my view as
<div class="articleWrapper">
<div class="articleImgThumb"> // here should be img src code </div>
</div>
Thanks
try this: