在<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(document.location.host);event.returnValue=false;">设为首页</a> 运行时
出现 Microsoft JScript runtime error: Permission denied 错误!
不明白,高手帮忙解决一下!
出现 Microsoft JScript runtime error: Permission denied 错误!
不明白,高手帮忙解决一下!
a标签不需要.
<a href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('htt'+'p://'+document.location.host); event.returnValue=false;">设为首页 </a>