Solved

Jquery colpicker not loading

Posted on 2013-11-25
4
208 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

832 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