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 the difference between .js and .min.js? : jquery mobile
What is a use of jquery filter?
Explain .bind() vs .live() vs .delegate() vs .on()
How can you use a jquery library in your project?
How to use it jquery knockout?
How JavaScript and jQuery are different?
What is jquery selectors? Give some examples.
What is the difference between the knockout and jquery?
Consider a scenario where things can be done easily with javascript, would you still prefer jQuery?
Have any of your startup projects failed dismally - if so, why and how did you learn from them?
List a few features of jquery mobile? : jQuery Mobile
Write the code to define a requirejs module with its dependencies.