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 |
Which operating system is more compatible with jQuery?
Consider a scenario where things can be done easily with javascript, would you still prefer jQuery?
Write a code for the implementation of a module pattern.
Explain slidetoggle() effect.
Can you please explain the difference between javascript and jquery? : jquery mobile
How do I check if the DOM is ready?
Is jquery html() method works for both html and xml documents?
How does caching helps and how to use caching in jQuery?
How To Use Ajax In Jquery?
Is there any advantage of using $.ajax() for ajax call against $.get() or $.post()?
Is it possible to use other client side libraries like MooTools, Prototype along with jQuery?
Difference between find() and closest() in jquery?