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 to use css() in jquery?
What is parseint() and why it is used?
Define animate function in jquery?
What are the types of selectors in jQuery?
Explain some benefits of jquery knockout?
What are the various ajax functions?
How to executed jquery selectors? : jquery mobile
Explain why there are two different version of jquery library? : jquery mobile
What is the difference between prop() and attr() in jquery?
Explain the use of each function in jquery?
What are the difference between empty(), remove() and detach() functions in jquery?
What is $() in jquery?
Can you please explain the difference between .js and .min.js? : jquery mobile
What is difference between .setinterval() and .delay() ?
When can jquery be used?