【问题标题】:How to make IE 9 or less work with this Multi Select In Pure JavaScript – vanillaSelectBox如何让 IE 9 或更低版本在纯 JavaScript 中使用这个 Multi Select – vanillaSelectBox
【发布时间】:2021-10-11 14:44:12
【问题描述】:

我找到了这个多选 https://www.cssscript.com/single-multi-select-vanilla/ 并且可以与 Chorme 和 IE10 一起使用,但我需要它才能与 IE9 或更低版本一起使用。 我遵循了页面的所有步骤,也尝试了这个 铬合金 enter image description here

IE enter image description here // Polyfill 源

// BVSelect Polyfill 版本

因为这个https://github.com/BMSVieira/BVSelect-VanillaJS#polyfill 但它不起作用或者你知道构建一个多选框吗?兼容IE9

【问题讨论】:

  • IE9?我的时间机器真的工作了吗,现在是 2011 年?
  • @epascarello 所以......这意味着。你知道怎么做。对吗?
  • 自 2017 年浏览器支持结束以来,我已经有好几年没有看过 IE9 了。另外,我怀疑有人会下载一个 zip 文件,加载一个 VM 并找出它为什么不工作。

标签: javascript html drop-down-menu multi-select


【解决方案1】:

此行代码将解决问题!:

<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-09-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-24
    • 1970-01-01
    相关资源
    最近更新 更多