所以我決定在我的W8.1項目中包含JQ。 MS聲稱JQ的作品,但我發現了以下安全錯誤:JQUERY在Win 8.1應用程序中導致安全錯誤
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 .
認爲只有通過鏈接JQ分鐘2.1.1的 - 實際上並不使用它或做任何事情。 哦,通過鏈接我的意思是本地不是CDN。
有誰知道錯在哪裏?有沒有特別的W8版本? 謝謝。
「固定」它通過降級到JQ 2.0.2。 – 2014-10-06 08:06:52
在這種情況下,您應該檢查[bug跟蹤器](http://bugs.jquery.com/)上是否有關於此的條目,如果沒有,則創建一個條目。 – GSerg 2014-10-06 14:50:55
Jquery 2是第一個Windows Store應用版本http://blogs.msdn.com/b/windowsappdev/archive/2013/04/01/windows-store-app-support-in-jquery-version-2-0。 ASPX – sebagomez 2014-10-08 03:08:25