Yesterday I was using the bootstrap color picker: <http://www.eyecon.ro/bootstrap-colorpicker/>

The simple HTML code is:

```
<link rel="stylesheet" href="vendor/colorpicker/css/colorpicker.css">

    <div class="colorpicker" id="yellow">
        <a href=""></a>
    </div>

<script src="vendor/colorpicker/js/colorpicker.js"></script>

```

The js is:

```
$ ('. colorpicker'). colorpicker ()

```

Unfortunately I do not have any effect because the console in google chrome gives me this error:

```
 Uncaught TypeError: Object [object Object] has no method 'colorpicker'

```

I do not understand what is causing this error.