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 |
What is the struts2 jquery plugin and its advantages.
What is the between $(this) and 'this' in jquery?
What is a filter in jquery? Explain
What is the difference between settimeout() and setinterval() methods?
What are the slow selectors in jquery? : jquery mobile
Can we add more than one ‘document.ready’ function in a page?
Jumping off of jquery ui for a second, do you 'release early, release often' with all of your projects? What are your thoughts on that strategy?
Can you use multiple document.ready() function on the same page?
What is jQuery CDN?
Mention the differences between javascript and jquery.
Explain cdn in jquery?
How does caching helps and how to use caching in jQuery?