【发布时间】:2011-12-18 18:51:10
【问题描述】:
我在 DIV 标记内有一些批量图像,如果我单击此 DIV 标记内的图像,我需要在图像控件中显示该图像。
这是我显示所有批量图片的回复:
<script>
$('#showfilelist').append("<div id=" + file.id + " class='thumb'><a href='uploads/" + document.getElementById("currentDirectory").value + "/" + file.name + "' target='_blank' rel='gallery'><img src='uploads/" + document.getElementById("currentDirectory").value + "/" + file.name + "' width='50' height='50'/></a></div>");
</script>
现在,如果我单击上述 DIV 中的图像,则所选图像应显示在此图像控件中
<asp:Image ID="Image1" runat="server" BackColor="#0099CC" BorderStyle="None"
Height="624px" Width="500px" />
【问题讨论】:
标签: asp.net image html controls