我创建了一个使用phonegap 2.9.0的Windows 8项目,然后尝试在其中使用JQuery移动库。但是我得到以下安全异常。任何想法如何解决这个问题?Windows 8 Phonegap应用程序JQuery移动安全异常
Exception was thrown at line 4, column 7009 in ms-appx://c6a291ce-903f-47ab-b167- cb8378ffb051/www/libs/jquery.core/jquery-1.9.1.min.js
0x800c001c - JavaScript runtime 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.
If there is a handler for this exception, the program may be safely continued.
同样的问题问了一段时间后: http://stackoverflow.com/questions/14471362/javascript-runtime-error-unable-to-add-dynamic-content –
不,这不是一回事。这是用户定义的JavaScript。这是来自JQuery Mobile库本身。 – msrameshp
任何人都可以请你帮助我??我真的被困在这里:(。 – msrameshp