//nav.ascx
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="nav.ascx.vb" Inherits="实验管理系统.nav" %>
<table id="table1" width="150" align="left" bgcolor = "#ddddbb" border="0" cellpadding="0" cellspacing="0" style="height: 350px">
<tr>
<td id="tablecell1" align ="right" valign="top">
</td>
</tr>
</table>
我希望能找到"tablecell1"这个控件并修改背景图片
在哪里加哦
追答哦,我看成LABEL了。
你可以用JS来查找改变背景
document.getElementById(tablecell1).className ="className"