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 |
Why do we use jquery? : jquery mobile
Is numeric in jquery?
What is called chaining?
Why jquery?
What is the use of queue() in jquery?
How to execute jQuery code after the DOM is ready?
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?
How to add and remove css classes to an element using jquery?
How can events be prevented from stopping to work after an ajax request?
How to run an event handler only once in jQuery?
What is event.PreventDefault in jQuery?
Difference between prop() and attr()? : jQuery Mobile