I have below div:
<div id="MyDiv" style="background-image: " + '@Url.Content("~/images/MyImave.gif")'></div>
and I am try to set the background image dynamically by performing:
$('#MyDiv').prop("background-image", '@Url.Content("~/images/ongoing.gif")');
but it is not working, no image is found...
Any ideas?