0
当使用Internet Explorer并且我想绑定到hashchanged事件时,没有评估JavaScript函数。嵌入式Internet Explorer和hashchange事件
$(window).bind('hashchange', function()
{
alert ('HasChange');
}
在使用集成网络服务器的'真正'Internet Explorer中,我得到了正确的操作。
this.NavigateTo = function(newPath)
{
window.location.hash = '#' + newPath;
alert ('Navigate');
};
'导航'将被提醒,但没有'HasChange'。
是否有一种方法可以通过F12为嵌入式Internet Explorer检索调试器?当Internet Explorer嵌入到System.Windows.Forms和WPF中时,我得到了这种行为。当我创建一个32位,64位或AnyCPU可执行文件时没有改变。
或者甚至知道这种行为?
有没有可能改变这种行为或者这不是微软的意图? 看起来是对的: 4.0(compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/5.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; Tablet PC 2.0; .NET4.0E; Zune 4.7; Creative AutoUpdate v1.40.04) – UllaDieTrulla
是的,我认为有可能改变这一点,但我现在不记得我的网站读过它。 – AlfonsoML
有没有人发现我们如何强制嵌入式浏览器的版本? – rlc