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 |
Explain finish method in jquery? : jquery mobile
How to write browser specific code using jquery? : jquery mobile
What is jQuery?
Can there be more than one ready function in jquery?
How to use connect in jquery?
How can you add a jquery library in your project?
Is there any advantage of using $.ajax() for ajax call against $.get() or $.post()?
What are selectors in jQuery and how many types of selectors are there?
How to debug jQuery?
How to load jQuery from CDN?
How to select all elements using jQuery?
What is the use of jQuery load method?