What is the advantage of using protocol less URL while referencing jQuery from CDNs?
Answer Posted / 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 |
Post New Answer View All Answers
What are the types of selectors in jQuery?
What are two different version of jquery library? : jquery mobile
How to search for descendant elements that match the specified selectors using ?
Explain the use jquery.data method?
Define cdn in jquery?
Mac, windows or linux? Why do you love this platform while using jquery?
Explain .delegate()? : jquery mobile
Can you use multiple document.ready() function on the same page?
What are the methods used to provide effects in jquery?
What is queue() in jquery?
How can we include jQuery library in ASP.Net project?
Define the script build up by jquery?
What is jQuery code to select all links in first paragraph?
How can you use array with jquery?
Define "beforesend(xhr)" paremeter of jquery ajax method?