I am working to create a Google Chrome Extension- in this extension, there is a popup page that uses Accordion- via Jquery UI.
Now, I have correctly defined the popu
When "manifest_version": 2 is specified, the default Content security policy restrictions are set. One of the consequences is that inline JavaScript is not evaluated.
There's no way to enable inline Javascript. To get your code to work, move it to an external script file, and embed it, as follows:
<script src="popup.js"></script>
popup.js
:
$(function() {
$("#accordion").accordion({
collapsible: true
});
});