• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 232
  • Last Modified:

Jquery colpicker not loading

Hi guys,

Im trying to implement
http://colpick.com/plugin

here:
http://www.deans-place.co.uk/colourpicker/

Im sure im missing something stupid, but what is it?

Thanks,
Dean
0
deanlee17
Asked:
deanlee17
  • 2
  • 2
1 Solution
 
Rainer JeschorCommented:
Hi,
you might try to wrap your script into a
$(function(){
    $('#picker').colpick();
});

Open in new window

And/or try to use an older version of jQuery (at least the 1.10 did not work in jsFiddle):
http://jsfiddle.net/EE_RainerJ/Ry6rK/

HTH
Rainer
0
 
deanlee17Author Commented:
Hmmm I tried tried wrapping it into a function and it still didnt work, changed the version of Jquery, still no use?
0
 
deanlee17Author Commented:
I needed to put the jquery library before the colourpicker script
0
 
Rainer JeschorCommented:
Could be.
Normally you wrap the jQuery actions into a $(document).ready() - which should ensure that everything you need is there.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now