javascript - marionettejs Attachhtml ie8 - 对方法或属性的意外调用

标签 javascript internet-explorer-8 marionette

我正在 IE8 中测试我的网站。我正在使用 MarionetteJS,并且我已将 View 动态添加到页面中。

我的页面在 marionette.js 代码中中断:

this.el.appendChild(view.el); 

有人能指出我如何解决这个问题的正确方向吗?抱歉,如果有点含糊,但我不知道从这里该去哪里。

enter image description here

最佳答案

是的,本例中的问题是 html5 标签,而不是 Marionette。但如果你使用https://github.com/afarkas/html5shiv您可以在 IE8 和 Marionette 中毫无问题地使用 html5 标签。

关于javascript - marionettejs Attachhtml ie8 - 对方法或属性的意外调用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31995167/

相关文章:

javascript - 在 Marionette 布局中维护一堆 Marionette ItemView

jquery - 使用 jQuery 和 Backbone 在选择框中分组数据

javascript,循环字段和验证

javascript - 引号中的引号太多——怎么办?

html - 悬停图像输入提交按钮不适用于 ie 7 和 8

javascript - 为什么 CSS3Pie + Prototype 1.6.1 会导致 Internet Explorer 8 崩溃

javascript - 当多个 glob 时 gulp src 会重复

javascript - OAuth : How to hide API Secret Key from javascript

internet-explorer-8 - 为什么 ie8 在刷新时会在几分之一秒内闪烁白色背景?

javascript - Marionette 中有 onBlur nanlog 吗?