我使用Mvc和jquery, 我想知道我怎样才能得到一个图像显示 。
我有
<img src="@Url.Action("GetImage", "Dashboard")" id="images" alt="image description" width="100" height="72" />
在我的笔记标签里
<script type="text/javascript">
getTheme();
var imageSource = $( #images );
var newimg = $( .logo );
newimg.css({ background-image , Url( +imageSource+ ) });
</script>
I want this to be the source: The image is just not showing can you help me.