[英]IE 8 error on page when click on link
I am working on windows server 2003 with IE 8我正在使用 IE 8 处理 Windows Server 2003
My website is working good on firefox and google chrome.我的网站在 Firefox 和 google chrome 上运行良好。
it also works good on IE, just one think,它也适用于 IE,只是想一想,
there is a link that when I click, I got error on page
yello at the bottom left of the page and nothing change on my website, I mean just that message appears and the webiste content is still the same.有一个链接,当我点击时,我
got error on page
左下角的got error on page
yello 上got error on page
我的网站上没有任何变化,我的意思是只出现该消息并且网站内容仍然相同。
I can run java script scrips on my IE right now .我现在可以在我的 IE 上运行 java 脚本。
the link exists here链接存在于此处
<ItemTemplate>
<a href="javascript:void(0);" onclick="LoadDetails('<%#Eval("CustomerID")%>','<%#Eval("Telephone")%>',this)">View Details</a>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:TemplateField>
and the java script code, which is using is here:和使用的java脚本代码在这里:
function LoadDetails(memberID, mediaValue, el) {
alert("asdfasdf")
var listview1ToHide = document.getElementById('ListView1');
listview1ToHide.style.display = 'none';
if (!$(el).hasClass('disabledLink')) {
$('#copyPhoneBtn').css('display', 'none');
$('.disabledLink').each(function () {
$(this).removeClass('disabledLink');
});
$(el).addClass('disabledLink');
$('#subView').load('SubView.aspx?CustomerId=' + memberID + "&MediaValue=" + mediaValue + "&rand=" + Math.random());
$("#newButtonContainer").css("height", "300px");
} else {
//alert('disabled..');
}
}
Note, I am using asp.net注意,我使用的是asp.net
Note:the alert is working注意:警报正在工作
双击警告消息以查看其内容,您应该能够找到错误所在
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.