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
Is jQuery is a client or server scripting?
What is jquery selectors?
Why we use chaining in jquery?
Write a basic jquery code?
What is the difference between $(window).load and $(document).ready?
Why is not dom ready working for jquery mobile? : jquery mobile
Where can we download JQuery?
What is a dom in jquery? How can we make sure that dom is ready?
How to fetch the values of selected checkbox array using jquery?
What is the use of each function in jQuery?
What is the use of toggle() method in jquery?
What is jquery.holdready() function?
How to use jquery.connect?
What is $('div')? : jquery mobile
What is the use of html() method in jquery?