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
How to check/uncheck an input in jquery?
What is the method used to define the specific character in place of $ sign?
How to use jquery?
What is jQuery code to select all links in first paragraph?
What are the various ajax functions?
How to include jQuery in ASP.Net project?
Is jQuery a programming language?
Explain the difference between jquery.size() and jquery.length?
How can images be made to appear scrolling one over another?
Difference Between Prop and Attr in jQuery?
Can you please explain the difference between javascript and jquery? : jquery mobile
Whether we need to add jQuery file in both Master and Content page?
Is jquery is json library file or a javascript?
How do you update ajax response with id " resilts"?
What is jquery a client or server scripting?