adspace
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
How can jquery library be added to pages?
What is the minimum setup needed to start using jquery.
How to validate email using jquery?
How to always reference latest version of jquery?
Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?
How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.