Answers for "loading jquery in html src"

1

load jquery in html

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Posted by: Guest on June-12-2021
0

load jquery in the browser code

var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);
// ... give time for script to load, then type (or see below for non wait option)
jQuery.noConflict();
Posted by: Guest on November-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language