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 various methods to make ajax request in jquery? : jquery mobile
How to use jquery library in our asp.net project?
How to control page titles in jquery mobile? : jquery mobile
What are the selectors in jquery? How many types of selectors in jquery?
And finally, if you could give one tip to any new budding jquery ui developers, what would it be?
Is jquery library used for server scripting or client scripting?
What is the difference between the knockout and jquery?
How do I pull a native DOM element from a jQuery object?
How to use connect in jquery?
Can you write a code to select all links inside the paragraph?
Can you please explain the difference between parent() and parents() methods in jquery? : jquery mobile
What are features of jquery or what can be done using jquery?