我創建了一個使用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