Tôi đã tạo một dự án Windows 8 bằng cách sử dụng phonegap 2.9.0 và sau đó cố gắng sử dụng thư viện di động JQuery bên trong nó. Nhưng tôi nhận được ngoại lệ bảo mật sau đây. Bất kỳ ý tưởng làm thế nào để giải quyết này?Windows 8 Ứng dụng Phonegap JQuery Mobile Security Exception
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.
Cùng câu hỏi hỏi một thời gian trở lại: http://stackoverflow.com/questions/14471362/javascript-runtime-error-unable-to-add-dynamic-content –
Không nó không phải là điều tương tự. Đó là javascript do người dùng xác định. Điều này đến từ thư viện JQuery Mobile. – msrameshp
Bất cứ ai bạn có thể vui lòng giúp tôi? Tôi đã thực sự bị mắc kẹt ở đây: ( – msrameshp