3012 月 2015 document.styleSheets[0].rules与cssRules的区别 by 飞 <style type=”text/css”>a {color:#0f0;} </style><script type=”text/javascript”>if(document.styleSheets[0].cssRules){ alert[……] 继续阅读
3012 月 2015 javascript使用跨域时 document.domain出现该方法无法用在这一上下文中原因 by 飞 原因就是当前访问的域名必须与document.domain指定的域名相同,而我在用本土路径访问的,当然出错了。 报错如下: 网页错误详细信息 用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0[……] 继续阅读
3012 月 2015 js 操作IE游览器常用函数:window.external,history,document.execCommand by 飞 js 操作IE游览器 window.external… 1、window.external… 相关: 2、history… 3、document.execCommand…[……] 继续阅读