Solved

Is there a https google library for these?

Posted on 2014-03-27
7
140 Views
Last Modified: 2014-03-27
Hi,
I have a script for our Intranet site and it will only use https jquery library.  Is there a https version for the first 2?  I can't seem to find it here, https://developers.google.com/speed/libraries/devguide
thank you.

      <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
      <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
      <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/black-tie/jquery-ui.min.css" type="text/css" media="screen" charset="utf-8"/>
      <script type="text/javascript">
0
Comment
Question by:lapucca
7 Comments
 
LVL 8

Assisted Solution

by:soupBoy
soupBoy earned 125 total points
ID: 39959481
Since you are leaving off the 'http' or the 'https' in both of those script calls, it will use the protocol that your site is using.  So, if you are using HTTPS, is should connect to google's CDN via HTTPS.
0
 
LVL 58

Assisted Solution

by:Gary
Gary earned 125 total points
ID: 39959487
They all have https versions, just set the full path to use https:
0
 
LVL 43

Expert Comment

by:Chris Stanyon
ID: 39959541
You've already set your links to what's called 'protocol agnostic' so you'll automatically receive the correct version. Leave your links as they are :)
0
DevOps Toolchain Recommendations

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

 

Author Comment

by:lapucca
ID: 39959561
the 3rd link with https would land on something but the 1st 2 link I already tried adding https and lands on nothing that's why I posted the question here.
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 125 total points
ID: 39959579
Click here : first
And here : second

Do you lands on nothing?
0
 
LVL 43

Assisted Solution

by:Chris Stanyon
Chris Stanyon earned 125 total points
ID: 39959604
You don't need to add the https:

Just leave it as it is and Google will deliver from the correct protocol
0
 

Author Closing Comment

by:lapucca
ID: 39959672
Thank you everyone.  I had a typo so I didn't land on anything earlier with those 2 libraries.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
The viewer will learn how to dynamically set the form action using jQuery.
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…

776 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