Solved

Jquery colpicker not loading

Posted on 2013-11-25
4
203 Views
Last Modified: 2013-11-26
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
Comment
Question by:deanlee17
  • 2
  • 2
4 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39675126
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
 

Author Comment

by:deanlee17
ID: 39675164
Hmmm I tried tried wrapping it into a function and it still didnt work, changed the version of Jquery, still no use?
0
 

Author Comment

by:deanlee17
ID: 39675175
I needed to put the jquery library before the colourpicker script
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39675186
Could be.
Normally you wrap the jQuery actions into a $(document).ready() - which should ensure that everything you need is there.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now