14 Oct
2012
14 Oct
'12
9:55 a.m.
Hi XWiki users I wanted to add a jQuery library from CDN so I added <script> tag inside {{html}} macro this way : {{velocity}} {{html clean="false"}} <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js "></script> </head> {{/html}} {{/velocity}} I could not use jQuery and it gives me this error in console. Refused to execute a JavaScript script. Source code of script found within request Resource interpreted as Script but transferred with MIME type text/html: "about:blank". any way to use js libraries and css from CDN ?? Thanks