asp.net简单问题
在.aspx中代码如下:
<ItemTemplate>
<table class="hsdContent" style="width:100%;" >
<tr class="OldLine" onmouseover="style.background-color:'#C86F70'">
<td style="width:10%;"><%#Eval("HSDID") %></td>
<td style="width:60%;text-align:left;"><%#Eval("Title") %></td>
<td style="width:10%;"><%#Eval("Status") %></td>
<td style="width:10%;"><asp:ImageButton ID="Index_Reproduce" runat="server" ImageUrl="image/ReproduceButton.jpg" OnClick="Reproduce_Click"/></td>
<td style="width:10%;"><asp:ImageButton ID="Index_Submit" runat="server" ImageUrl="image/SubmitButton.jpg" CommandName="Edit" CommandArgument='<%#Eval("id")+","+Eval("HSDID")%>' OnClick="Edit_Click" /></td>
</tr>
</table>
</ItemTemplate>
http://www.cnblogs.com/insus/p/3214497.html
http://www.cnblogs.com/insus/archive/2012/10/29/2744769.html
[解决办法]
onmouseover="javascript:style.backgroundColor='#C86F70'"
[解决办法]
onmouseover="this.style.backgroundColor='#C86F70'"