Hi there,
Completely new to Chrome extensions, other then using them ;) I am
trying to use jQuery with my extension to handle some of the JavaScript
heavy lifting.
For testing purposes I basically have a popup.html defined in my
Manifest and then have the following in my background.html:
<html>
<head>
<script src="jquery.min.js" type="text/javascript"></script>
<script>
$("p").css({'background-color': 'yellow'});
</script>
</head>
</html>
In my popup I do have a little Hello World paragraph but on loading the
extension and clicking on the icon the popup pops with the paragraph but
the background color does not change :(
Am I going about this the wrong way? I have tried adding the:
<script>
$("p").css({'background-color': 'yellow'});
</script>
to the popup.html but with no success. Any and all help is much appreciated.
Thanks,
Schalk
--
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=en.