Can we use protocol less URL while referencing jQuery from CDNs?
Answer Posted / 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 |
Post New Answer View All Answers
What is a cdn? : jQuery Mobile
What is the difference between prop and attr?
How to get the current offset of the first matched element, in pixels, relative to the document using ?
Why we use jquery .each() function?
Define each() function in jquery?
What are selectors in jquery mean ?
What are the advantages of jQuery?
Tell me can we have multiple document.ready() function on the same page? : jquery mobile
What is slice() method in jquery?
How do you get the attribute of an html tag in jquery?
Explain the use of the $.fn.bind and $.fn.trigger.
Define "beforesend(xhr)" paremeter of jquery ajax method?
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?
How to include jQuery in ASP.Net project?
What is jquery connect and how to use it?