Javascript 点击链接时页面出现IE 8错误
我正在使用IE 8开发windows server 2003 我的网站在firefox和google chrome上运行良好 它在IE上也很管用,只要一想 有一个链接,当我点击时,我在页面左下角的第yello页上出现了错误,我的网站上没有任何变化,我的意思是消息出现了,webiste内容仍然是一样的 笔记 我现在可以在IE上运行java脚本脚本 这里有链接 注意,我使用的是asp.netJavascript 点击链接时页面出现IE 8错误,javascript,asp.net,internet-explorer-8,ie8-compatibility-mode,ie8-browser-mode,Javascript,Asp.net,Internet Explorer 8,Ie8 Compatibility Mode,Ie8 Browser Mode,我正在使用IE 8开发windows server 2003 我的网站在firefox和google chrome上运行良好 它在IE上也很管用,只要一想 有一个链接,当我点击时,我在页面左下角的第yello页上出现了错误,我的网站上没有任何变化,我的意思是消息出现了,webiste内容仍然是一样的 笔记 我现在可以在IE上运行java脚本脚本 这里有链接 注意,我使用的是asp.net 注意:警报正在运行双击警告消息查看其内容,如果双击警告消息,您应该能够找到错误所在,您会收到什么消息?
注意:警报正在运行双击警告消息查看其内容,如果双击警告消息,您应该能够找到错误所在,您会收到什么消息?
<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>
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..');
}
}