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

  • Home
  • SEARCH
  • 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 7008971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:48:13+00:00 2026-05-27T21:48:13+00:00

When I link to the jQuery UI file stored on Google’s servers with the

  • 0

When I link to the jQuery UI file stored on Google’s servers with the following code in my :

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>

… and in my scripts $(document).ready () I do the following …

$("#date-processed").datepicker ({ dateFormat: 'M. dd, yy' });

The script will break for all browsers on this page. The reason being it says “datepicker” does not exist as a function. So, if I go to http://jqueryui.com/download and download the custom jQuery UI library with UI Core and Datepicker and link that file in my instead, it works just fine.

So, to experiment, I downloaded the custom jQuery UI library from http://jqueryui.com/download with everything checked, then I Google’s CDN copy of jQuery UI, and there’s a 7kb difference in the file sizes.

In most of the Datepicker tutorials and examples I’ve seen, people are using Google’s CDN copy just fine, so I assume this must be something I’m doing incorrectly, not an inconsistency on Google’s part. I have verified my local version number and Google’s CDN version number of jQuery UI are the same. Anyone familiar enough with Google’s CDN and jQuery UI to shed some light on this situation?

  • 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-05-27T21:48:13+00:00Added an answer on May 27, 2026 at 9:48 pm

    Qorbani requested I use JSFiddle to post the source code, so I played around with that and found that it worked when I used JSFiddle (http://jsfiddle.net/Znjvh/3/). I then realized the issue was that on the page I was also using jQuery Tools and including it after jQuery UI. When I moved it above jQuery UI, everything worked fine (http://jsfiddle.net/Znjvh/5/).

    I went to hunt down the conflict between jQuery UI and jQuery Tools and found that the standard URL for jQuery Tools that I was using, http://cdn.jquerytools.org/1.2.6/jquery.tools.min.js, also includes jQuery. That’s likely where the conflict was (though there could have been more. As “mu is too short” pointed out, both jQuery Tools and jQuery UI use .tabs(), for instance).

    Anyway, for other users that stumble upon this question, if you are using jQuery Tools and jQuery UI together, make sure you are including the jQuery Tools that does not also include jQuery. I fixed it by changing the URL to http://cdn.jquerytools.org/1.2.6/tiny/jquery.tools.min.js (http://jsfiddle.net/Znjvh/6/).

    Thanks for your help, guys!

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

Sidebar

Related Questions

my file: <script type=text/javascript src={{ STATIC_URL }}js/jquery.fancybox-1.3.4.pack.js></script> <link rel=stylesheet href={{ STATIC_URL }}css/jquery.fancybox-1.3.4.css type=text/css media=screen
Say I add a link to jQuery as follows in MVC3 <script src=@Url.Content(~/Scripts/jq.js) type=text/javascript></script>
I have the following js files in my code for EditInPlace... <?php echo $javascript->link('jquery.js');?>
I use the following for a jQuery link in my <script> tags: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js Is
Does it actually matter which CDN you use to link to your jquery file
I have the following simple jQuery: $.get('Data.csv', function(data) { alert(data); }); Data.csv is stored
I'm trying to use jQuery .load to load separate file with Google Chart into
How to check visited link using jquery without using any plugin please help to
I'm creating a link in jquery when you click on another link. The problem
how can i select the current link via jquery if I have a div

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.