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

How do you check or uncheck a checkbox input or radio button?

0 Answers  


What is the minimum setup needed to start using jquery.

0 Answers  


How to check if number is numeric while using jQuery 1.7+?

1 Answers  


What is event.PreventDefault in jQuery?

0 Answers  


Different ways of using $.connect function in jquery?

0 Answers  


Suppose if you have a server control(asp.net server control, button) and on the click of button you want to call a jquery function, so tell me how you will call a jquery function without postback?

0 Answers  


Is jquery still relevant 2019?

0 Answers  


Can there be more than one ready function in jquery?

0 Answers  


What is jQuery connect?

0 Answers  


What does $("div") will select?

1 Answers  


Which sign is used as a shortcut for jQuery?

0 Answers  


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

0 Answers  


Categories