Cordova Windows Phone 8.1:引导模式错误
Cordova Windows Phone 8.1: error with bootstrap modal
我正试图在WindowsPhone 8.1上移植一个cordova应用程序,一切都很好(或多或少)。
现在我陷入了这个问题:我使用的是angular和bootstrap ui,但当我试图打开一个弹出窗口时(它在任何地方都有效,也在ie中),我得到了这个错误:
Error: Unable to add dynamic content. A script attempted to inject dynamic content, or elements previously modified dynamically, that might be unsafe. For example, using the innerHTML property to add script or malformed HTML will generate this exception. Use the toStaticHTML method to filter dynamic content, or explicitly create elements and attributes with a method such as createElement. For more information, see http://go.microsoft.com/fwlink/?LinkID=247104.
我已经尝试过了:在win8应用程序中使用AppendTo/jquery-win8http://blog.jonathanchannon.com/2013/01/24/using-angularjsbackbonejs-in-windows-8-javascript-app/但这并没有奏效。
关于如何解决这个问题有什么建议吗?
我在启动的几个项目中也遇到过同样的问题——这种情况似乎会发生,尤其是在从Visual Studio运行应用程序的情况下。
我发现在主页中有效的一个技巧是在引用angular.js文件之前引用platformOverrides.js文件。
platformOverrides.js应该在编译时从项目中包含的各种合并中生成
相关文章:
- 试图在引导模式内动态生成图表,得到offsetWidth错误
- 同位素库错误:未捕获错误无布局模式包装生产线8
- internet explorer 8兼容模式下的Youtube api错误
- 使用错误的 ng 模式重置 angularjs 表单字段
- SonarQube 预览模式失败,并显示 500 错误
- imgAreaSelect插件在引导模式窗口中的位置错误
- 虚拟键盘jquery在引导模式中显示错误
- 在引导模式中出现 Ckeditor 错误
- “函数声明不能嵌套在语句中” - IE 处于严格模式错误
- JQuery IIFE 外部文档就绪 - 模式错误
- Cordova Windows Phone 8.1:引导模式错误
- ui套件中的模式错误
- Javascript Promise反模式错误
- 如何改变html5模式错误消息的电子邮件
- Javascript图像预览总是在横向模式错误
- IE9兼容模式错误:无法获取属性'的值;0':对象为null或未定义
- 继承和模块模式错误行为
- 角度$Scope解构模式错误
- 在must "使用strict"设置为在冻结对象上触发严格模式错误
- 虽然使用babel 6预设es2015包含严格模式,但Node js抛出严格模式错误