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 bind() vs live() vs delegate() methods.
What is cdn? Explain
Can we add more than one ‘document.ready’ function in a page?
How to get attributes of an element using jQuery?
Differences Between jQuery .bind() and .live()?
Can we call C# code behind using jQuery?
What are selectors in jquery? Explain
How can you add a jquery library in your project?
What is the use of delegate() method in jquery?
What are the advantages of minified version of jquery?
Explain some benefits of jquery knockout?
What is jquery.holdready() function?