Answers for "how to check jquery is installed"

3

check if jquery is installed

if (typeof jQuery == "undefined") {
  alert("JQuery is not installed");
} else {
  alert("JQuery is installed correctly!");
}
Posted by: Guest on July-07-2020
3

what jqury is installed

if (typeof jQuery != 'undefined') {  
    // jQuery is loaded => print the version
    alert(jQuery.fn.jquery);
}
Posted by: Guest on March-23-2020

Code answers related to "how to check jquery is installed"

Code answers related to "Javascript"

Browse Popular Code Answers by Language