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

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?

0 Answers  


How we can get the value of a radio button using jquery?

0 Answers  


Is jquery library used for server scripting or client scripting?

0 Answers  


How can we include jQuery library in ASP.Net project?

0 Answers  


what does $("div") will select? : jquery mobile

0 Answers  






Name 3 available jquery plugins that bootstrap has in their query plugin library.

0 Answers  


Explain the animate function.

0 Answers  


How do you install/use jquery in a project.

0 Answers  


How to resolve conflicts with other libraries?

0 Answers  


What are the different types of selectors?

0 Answers  


Why we use chaining in jquery?

0 Answers  


What are your tools of choice to get the jquery job done?

0 Answers  


Categories