摘要: 阅读全文
posted @ 2008-01-10 17:35 龍的傳人 阅读(196) 评论(0) 推荐(0) 编辑
摘要: function importXML() { if (document.implementation && document.implementation.createDocument) { xmlDoc = document.implementation.createDocument("", "", null); xmlDoc.onload =... 阅读全文
posted @ 2008-01-10 17:19 龍的傳人 阅读(812) 评论(0) 推荐(0) 编辑
摘要: firefox与IE对javascript和CSS的区别 2007-12-07 12:18 keywords: javascript;css;firefox;ie;区别 1. document.formName.item("itemName"... 阅读全文
posted @ 2008-01-10 17:07 龍的傳人 阅读(1603) 评论(0) 推荐(0) 编辑
摘要: IE和Firefox在JavaScript方面的兼容性 2008-01-05 13:15 1.document.formName.item("itemName") 问题 说明: IE下,可以使用document.form... 阅读全文
posted @ 2008-01-10 17:06 龍的傳人 阅读(458) 评论(1) 推荐(0) 编辑
摘要: javascript在中ie与firefox的区别与解决方案 1.载入xml ie创建对象: msXmlAx=new ActiveXObject("Microsoft.XMLDOM"); firefox创建对象: xDoc=document.implementation.createDocument("","",null); 总体方法为: ///判断浏览器 创建不同的... 阅读全文
posted @ 2008-01-10 17:01 龍的傳人 阅读(1406) 评论(0) 推荐(0) 编辑
摘要: 、Select列表控件 删除列表项。在IE下工作正常的代码: obj.options.remove(i); 需要修改为: obj.remove(i); 添加列表项。在IE下工作正常的代码: var oOption = document.createElement('option'); oOption.text = text; oOption.value = value; target... 阅读全文
posted @ 2008-01-10 17:00 龍的傳人 阅读(248) 评论(0) 推荐(0) 编辑