Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8027009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:40:34+00:00 2026-06-04T23:40:34+00:00

I was successfully using some plugin for about 6 months on my website and

  • 0

I was successfully using some plugin for about 6 months on my website and all of a sudden I started getting this message for one of my scripts: “$ is undefined”.

This is the problematic line of code: $.widget("ui.ImageColorPicker", uiImageColorPicker);

I’m using this plugin and almost the newest jQuery with noConflict enabled: http://github.com/Skarabaeus/ImageColorPicker I didn’t change anything for 6 months (I didn’t update jQuery). I’m sure it worked fine just 2 weeks ago and now it’s broken all of a sudden.

EDIT: Error is gone. I’m removing example website.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:40:36+00:00Added an answer on June 4, 2026 at 11:40 pm

    It looks like a variable scope issue.

    Try changing the first line to this:

    (function($){
    

    and the last line to this:

    })(jQuery);
    

    By doing this we are passing in the jQuery object to the anonymous function which surrounds the plugin, but by referencing it as $ the code within the block can be written using ‘normal’ jQuery, while still maintaining the noConflict mode on the rest of the page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been using the Google Finance API to successfully gather some stock info. The
I'm using Pex and Moles 0.94.51023.0 with VS2010 SP1. I have successfully made some
All these years i have been successfully using EnumServicesStatus in combination with OpenScManager (with
I am using Jquery form plugin to upload file in Ajax request.File is successfully
I am using Jquery form plugin to upload file in Ajax request.File is successfully
I have successfully set up this plugin before so I am curious as to
I'm using Rails with the JQuery plugin, and have some really complicated validations for
I've got some code that I've been using successfully for some years to implement
I'm using some CSS transitions like the following: .slide_left { -webkit-transition: all 0.25s ease-in;
I'm using the validation plugin of jQuery to check some values of my form.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.