Reputation: 157
Maybe this is dumb, but if I use the google hosted jqueryui api, do I still need to load the individual libraries? For example, if I want to use jquery ui dialog, do I have to also reference a local path to the js file, or will linking to the jquery ui api load all the libraries itself?
Upvotes: 1
Views: 2310
Reputation: 9931
If you are talking about linking to the jQuery UI libraries using the Google CDN (https://developers.google.com/speed/libraries/devguide#jquery-ui), you won't need to bother referencing any other js file for it locally. Just link to the Google hosted jQuery UI library, and you're good to go :) Make sure you also link to the jQuery library as well:
https://developers.google.com/speed/libraries/devguide#jquery
Upvotes: 1