js的ie和firefox兼容性解决方法(IE and Firefox compatibility solutions for JS).docVIP

  • 12
  • 0
  • 约1.11万字
  • 约 23页
  • 2017-08-31 发布于河南
  • 举报

js的ie和firefox兼容性解决方法(IE and Firefox compatibility solutions for JS).doc

js的ie和firefox兼容性解决方法(IE and Firefox compatibility solutions for JS)

js的ie和firefox兼容性解决方法(IE and Firefox compatibility solutions for JS) the 代替 以下以 internet explorer, firefox 代替 mozzila 以 mf 1. document.form.item 问题 (1) 现有问题. 现有代码中存在许多 document.formname.item (itemname 这样的语句, 下运行 不能在 fm ) (2) 解决方法. 改用 document.formname.elements elementname] (3) 其它 参见 2 2. 集合类对象问题 (1) 现有问题. 现有代码中许多集合类对象取用时使用 (), the 能接受, mf 不能. (2) 解决方法. 改用 [] 作为下标运算.如: document.forms (formname) 改为 formname document.forms []. 又如: document.getelementsbyname (inputname) (1) (inputname 改为 document.getelementsbyname) [1] (3) 其它 3. window.event (1) 现有问题. 使用 window.event 上运行 无法在 mf (2) 解决方法. mf 的 event

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档