I attempted to integrate a jQuery plugin into my application, but it doesn't seem to be working. In the head section of my code, I have included:
<link rel="stylesheet" media="screen" type="text/css" href="./style/colorpicker.css" />
<script type="text/javascript" src="./scripts/jqueryColorPicker/colorpicker.js"></script>
and somewhere in the body:
<script>
$("./images/colorwheel.png").ColorPicker({
color: '#0000ff',
onShow: function (colpkr) {
$(colpkr).fadeIn(500);
return false;
},
onHide: function (colpkr) {
$(colpkr).fadeOut(500);
return false;
},
onChange: function (hsb, hex, rgb) {
$('#footer').css('backgroundColor', '#' + hex);
$('#header').css('backgroundColor', '#' + hex);
}
});
</script>
However, the color wheel did not appear on my page. I am relatively new to using jQuery and could use some guidance. Can anyone help me figure out what went wrong?