I'm making a chrome extensions, and some of the functions that I'm going to have will make use of jQuery. I've had trouble finding a working solution online.
core.js:
$(document).ready(function(){
init();
});
function init()
{
$(":button").click(function(){
console.log("test");
//more code here...
});
}
extension.html:
<html>
<head>
<title>awesome</title>
<script src="scripts/core.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
</head>
<body>
<button id="getThem">GET!</button>
</body>
</html>
In my manifest I have the name, version, manifest_version (2), description, browser_action->default_popup (extention.html) and I'm not sure what to put for the rest. Can you help me piece together these basic elements?