Can we use protocol less URL while referencing jQuery from CDNs?
Answer / chaitanya
Yes. Below code is completely valid.
Hide Copy Code
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
| Is This Answer Correct ? | 1 Yes | 0 No |
How do you attach a event to element which should be executed only once?
What does $("div.parent") will select?
Explain the use of each function in jquery?
How We Can Write Code Specific To Browser In Jquery?
Explain the difference between .js and .min.js? : jquery mobile
What is the need for jquery? : jQuery Mobile
How can I select 20th div with jquery?
Write a code for the implementation of a module pattern.
What is difference between .setinterval() and .delay() ?
Difference between $(this) and 'this' in jQuery?
What are the types of selectors in jQuery?
What is the use of toggle() method in jquery?