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 |
Define the use of each function in jquery?
How to check data type of any variable in jQuery?
What is jQuery code to select all links in first paragraph?
How to check or uncheck all checkboxes using jquery?
Why jquery?
How can I select 20th div with jquery?
Define type paremeter of jquery ajax method?
What is serialize() in jquery?
Does jquery 2.0 supports ie? : jquery mobile
How can we apply css in odd childs of parent node using jquery library?
What is jquery.holdready() function?
What is queue() in jquery? Use of queue() in jquery?