需要javascript错误对象 [英] javascript error object required
本文介绍了需要javascript错误对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<script type="text/javascript">
function change(lnk,evt)
{
if(evt.type == "mouseover")
{
lnk.style.color = "red";
lnk.style.fontSize = "60";
document.getElementById('<%= tbl123.ClientID %>').style .visibility ="visible";
document.getElementById('tbl123').style .display="block";
}
else if(evt.type == "mouseout")
{
lnk.style.color = "blue";
lnk.style.fontSize = "20";
document.getElementById('<%= tbl123.ClientID %>').style .visibility ="hidden";
}
}
</script>
和
and
<asp:TableRow Width="100%" SkinID="SkinRow" runat="server">
<asp:TableCell Width="100%" >
<asp:LinkButton ID="lnk" runat="server" Text="mangal" onmouseover="change(this,event);"
onmouseout="change(this,event);"></asp:LinkButton>
<asp:Table ID="tbl123" runat="server" Visible="false">
<asp:TableRow runat="server">
<asp:TableCell runat="server"></asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell runat="server" Text="mangal123">mangal123</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell runat="server" Text="mangal1234556">mangal1234556</asp:TableCell>
</asp:TableRow>
</asp:Table>
</asp:TableCell>
</asp:TableRow>
现在我收到错误是对象要求..
请帮帮我。谢谢你
now i got an error is OBJECT REQUIRED..
please help me . thank u
推荐答案
''<%= tbl123.ClientID %>''
检查此变量是否返回您要查找的确切ID
Check whether this variable return the exact ID you looking for
这篇关于需要javascript错误对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文