可以写入如下内容:
<img id="Img1" src="../Images/rili.gif" style="cursor: pointer" onload="javascript:Calendar.setup({inputField:'WDRankDate',ifFormat:'%Y-%m-%d', button:'Img1'});" />
因为table中的td也是后台动态生成的
<img id="Img1" src="../Images/rili.gif" style="cursor: pointer" onload="javascript:Calendar.setup({inputField:'WDRankDate',ifFormat:'%Y-%m-%d', button:'Img1'});" />
因为table中的td也是后台动态生成的
好像不能写在js里
</asp:Table>
TableRow tr = new TableRow(); TableCell tc0 = new TableCell();
tc0.Text = "<input type=checkbox name=chkSelect>";
tr.Cells.Add(tc0);
this.TableConfig.Rows.Add(tr);
在指定的table里面 第3个tr中的第4个td中追加一个 img 标签