Note that there are some explanatory texts on larger screens.

plurals
  1. POjquery color picker error
    primarykey
    data
    text
    <p>I am trying to implement the jquery colorpicker(last one) from <a href="http://www.eyecon.ro/colorpicker/" rel="noreferrer">eyecon.ro/colorpicker</a> but whenever I click on the actual colorpicker nothing appears jquery throw this error message</p> <pre><code>$("#colorSelector").ColorPicker is not a function onChange: function (hsb, hex, rgb) { </code></pre> <p>Here is my code</p> <p>js file</p> <pre><code>// Colorpicker $('#colorSelector').ColorPicker({ color: '#0000ff', onShow: function (colpkr) { $(colpkr).fadeIn(500); return false; }, onHide: function (colpkr) { $(colpkr).fadeOut(500); return false; }, onChange: function (hsb, hex, rgb) { $('#colorSelector div').css('backgroundColor', '#' + hex); } }); </code></pre> <p>HTML file</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;link rel="stylesheet" href="css/colorpicker.css" type="text/css" /&gt; &lt;link rel="stylesheet" media="screen" type="text/css" href="css/layout.css" /&gt; &lt;title&gt;ColorPicker - jQuery plugin&lt;/title&gt; &lt;script type="text/javascript" src="js/jquery.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="js/colorpicker.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="js/eye.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="js/layout.js?ver=1.0.2"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="wrapper"&gt; &lt;p&gt; &lt;div id="colorSelector"&gt;&lt;div style="background-color: #0000ff"&gt;&lt;/div&gt;&lt;/div&gt; &lt;/p&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>I have all the files included and css colorpicker is just not working. Any suggestions on how I can get rid of that error?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload