?
Solved

Jquery colpicker not loading

Posted on 2013-11-25
4
Medium Priority
?
216 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
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…
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…
Suggested Courses

765 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