What is the advantage of using protocol less URL while referencing jQuery from CDNs?
Answer / chaitanya
It is quite useful when you are moving from HTTP to HTTPS url. You need to make sure that correct protocol is used for referencing jQuery library as pages served via SSL should contain no references to content served through unencrypted connections.
"protocol-less" URL is the best way to reference third party content that’s available via both HTTP and HTTPS. When a URL’s protocol is omitted, the browser uses the underlying document’s protocol instead. Find out more here.
| Is This Answer Correct ? | 0 Yes | 0 No |
Tell me is jquery a w3c standard? : jquery mobile
What is the jQuery code to select all links inside the paragraph?
Explain .siblings() method in jquery?
What are the advantages of minified version of jquery?
Why jQuery is needed?
What is jQuery CDN?
How to write browser specific code using jquery? : jquery mobile
Can you please explain the difference between .js and .min.js? : jquery mobile
What is $() in jquery library?
Tell me does jquery 2.0 supports ie? : jquery mobile
Why use jQuery filter() Methods?
How to select element having a particular class (".selected")?