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 |
What is the difference between jQuery and jQuery UI?
What does jQuery data() function do?
How JavaScript and jQuery are different?
What are selectors in jquery? Explain
What is the use jQuery.data method?
How can events be prevented from stopping to work after an ajax request?
Is it possible to use other client side libraries like MooTools, Prototype along with jQuery?
Do we need to add the jquery file both at the master page and content page as well?
Write the code to define a requirejs module with its dependencies.
Tell me how to write browser specific code using jquery? : jquery mobile
What is the use of toggle() method in jquery?
Explain the concepts of "$ function" in jquery with an example?