js 兼容问题 SELECT OPTION

简介: ie 下 document.all 可以用 火狐 document.all 不可用 解决办法 用 document.getElementsByName()   ie 下 select(对象).

ie 下 document.all 可以用

火狐 document.all 不可用

解决办法 用 document.getElementsByName()

 

ie 下 select(对象).options.remove() 可以使用

火狐 select(对象).options.remove() 不可用

解决办法 select(对象).remove()

目录
打赏
0
0
0
0
5
分享
相关文章
javascript:layui实现定位、查询数据以及select筛选的组合功能
javascript:layui实现定位、查询数据以及select筛选的组合功能
396 0
探讨JavaScript中获取<select>元素选中情况的技术
探讨JavaScript中获取<select>元素选中情况的技术
258 0
Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option ...
Fullpage.js version 3 has changed its license to GPLv3 and it requires a `licenseKey` option ...
186 0

热门文章

最新文章