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
Why we need jquery?
What are jquery selectors?
What are selectors in jquery? Explain
Is it possible that jquery html work for both html and xml document?
Can we add more than one ‘document.ready’ function in a page?
What is get()? : jquery mobile
What is the difference between map and grep function in jquery?
How does the jQuery pushStack function work?
Difference between document.ready and window.onload? : jQuery Mobile
Define jquery connect?
Do we need to add jQuery file in both Master and Content page?
How to check variable is empty or not in jquery?
Please tell us that is jquery knockkout intended to compete with jquery or prototype or work with it?
How can you delay document.ready until a variable is set?
Explain the difference between event.preventdefault and "return false"? : jquery mobile