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 to check or uncheck all checkboxes using jquery?
What were the biggest challenges of getting the jQuery 1.7 release ?
How to check jQuery version?
Define cache paremeter of jquery ajax method?
Tell me how to write browser specific code using jquery? : jquery mobile
What are jquery plugins?
What is the between $(this) and 'this' in jquery?
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 do you add an HTML element in DOM tree?
What are the different types of selectors in jquery?
Define "beforesend(xhr)" paremeter of jquery ajax method?
How can jquery be used in conjunction with another javascript library that also uses $ for naming?