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
Explain type paremeter of jquery ajax method?
Explain how jquery works?
What are the four parameters used for jQuery Ajax method?
What is the use of delegate() method in jquery?
What is a use of jquery filter?
With jquery ui 1.7 being released in the last few days, what do you see as the key parts of jquery ui 1.7? What are you most proud of out of that release?
List the basic selectors in jquery?
Explain source maps in jquery? : jquery mobile
How can you get the type of arguments passed to a function?
Explain the features of jquery?
How to run an event handler only once in jQuery?
Explain data paremeter of jquery ajax method?
What were the biggest challenges of getting the jQuery 1.7 release ?
How to write browser specific code using jquery? : jquery mobile
What is event preventdefault () and event stoppropagation () in jquery?