Can we use protocol less URL while referencing jQuery from CDNs?



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

Post New Answer

More jQuery Interview Questions

Mention some advantages of jquery.

0 Answers  


How to select all elements using jQuery?

0 Answers  


What is event preventdefault () and event stoppropagation () in jquery?

0 Answers  


What is the slowest selector in jQuery?

0 Answers  


Whether jQuery HTML work for both HTML and XML documents?

0 Answers  






Can we include multiple version of jquery? : jquery mobile

0 Answers  


What is $() in jquery?

0 Answers  


What is the use of css() method in jquery?

0 Answers  


what are the features of jquery

0 Answers  


What programming language does jquery use?

0 Answers  


Explain the difference between javascript and jquery? : jquery mobile

0 Answers  


Explain the concepts of "$ function" in jquery with an example?

0 Answers  


Categories