All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
控制电脑关机或者重新启动的JS代码_JavaScript技术_编程技术
Asp.net(c#)数据库操作类_[Asp.Net教程]
用php实现广告轮播_php资料_编程技术
如何制作圆角表格_[Html教程]
限量版广告,1个IP一天只弹一次的AD代码_JavaScript技术_编程技术
定义列表 Definition Lists_[Html教程]
C#使用foreach来读取记录_[Asp.Net教程]
asp.net点击textbox自动清除其中文字_[Asp.Net教程]
SQL Server2005数字转中文大写字母_[SQL Server教程]
模拟Asp.Net,Forums实现可以换皮肤的控件_[Asp.Net教程]
Reading number is top 10 pictures
A letter to parents choose world of warcraft seven big reason
Ashlynn Brooke a group sexy photo2
China's programmers are live what kind, had a look at will know that
身材野火台灣美女2
邪恶搞笑内涵图
A beautiful girl to bud2
Female model behind the bitterness, often being overcharged5
XuRe xuan cool and refreshing photoes1
China's first snake village2
中国文革时期的色情图片1
Download software ranking
jdk1.6 for windows
C#程序员参考手册
Visual C++界面编程技术
Boxer vs Yellow2
功夫熊猫2(下集)
Ashlynn Video1
I for your crazy
Tram sex maniac 2 (H) rar bag13
电车之狼R
JSP+Ajax Web development typical examples
delv published in(发表于) 2013/12/31 6:36:00 Edit(编辑)
JS的IE和Firefox兼容性汇编_JavaScript技术_编程技术

JS的IE和Firefox兼容性汇编_JavaScript技术_编程技术

JS的IE和Firefox兼容性汇编_JavaScript技术_编程技术-你的首页-uuhomepage.com







  以下以 IE 代替 Internet Explorer,以 MF 代替 Mozzila Firefox




  1. document.form.item 问题




  (1)现有问题:




  现有代码中存在许多 document.formName.item("itemName") 这样的语句,不能在 MF 下运行




  (2)解决方法:




  改用 document.formName.elements["elementName"]




  (3)其它




  参见 2




  2. 集合类对象问题




  (1)现有问题:




  现有代码中许多集合类对象取用时使用 (),IE 能接受,MF 不能。




  (2)解决方法:




  改用 [] 作为下标运算。如:document.forms("formName") 改为 document.forms["formName"]。




  又如:document.getElementsByName("inputName")(1) 改为 document.getElementsByName("inputName")[1]




  (3)其它




  3. window.event




  (1)现有问题:




  使用 window.event 无法在 MF 上运行




  (2)解决方法:




  MF 的 event 只能在事件发生的现场使用,此问题暂无法解决。可以这样变通:




  原代码(可在IE中运行):










...





















添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.